<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Execution not found in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/execution-not-found/m-p/104348#M72853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a receive task (and boundary) which sends out a jms message. The message contains the activityId and the processId. When the response message is received (well within the time) I use the runtimeService to first find the process instance. The process instance is found successfully and if I query the ACT_RU_EXECUTION table I can see the correct activity in wait mode. However when I try to get the appropriate execution to signal (ie. to notify that message received), I always get a null return execution (and the exception)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Execution ex = runtimeService.createExecutionQuery().processInstance(id).activityId("wait").singleResult();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm perplexed as to why this isn't found. Any help would be great as I've been banging my head for a few hours now and not been able to resolve this critical task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 18:55:24 GMT</pubDate>
    <dc:creator>imamchishty</dc:creator>
    <dc:date>2012-04-10T18:55:24Z</dc:date>
    <item>
      <title>Execution not found</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-not-found/m-p/104348#M72853</link>
      <description>Hi guys,I've created a receive task (and boundary) which sends out a jms message. The message contains the activityId and the processId. When the response message is received (well within the time) I use the runtimeService to first find the process instance. The process instance is found successfull</description>
      <pubDate>Tue, 10 Apr 2012 18:55:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-not-found/m-p/104348#M72853</guid>
      <dc:creator>imamchishty</dc:creator>
      <dc:date>2012-04-10T18:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Execution not found</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-not-found/m-p/104349#M72854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;is it an activityId? or something else?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 22:17:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-not-found/m-p/104349#M72854</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-04-10T22:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Execution not found</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-not-found/m-p/104350#M72855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it's an activity. The actual activity Id in the example is 'wait'. I've tested this using in memory with the same thread and it works. However the reality is that two threads would be involved, one sending the message and the second thread receiving the message and doing what was described in the previous post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 22:47:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-not-found/m-p/104350#M72855</guid>
      <dc:creator>imamchishty</dc:creator>
      <dc:date>2012-04-10T22:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Execution not found</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-not-found/m-p/104351#M72856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; We've been having similar problems.&amp;nbsp; Our processes run correctly, but never seem to persist to ACT_RU_EXECUTION.&amp;nbsp; A similar query does gives zero results, and no errors that I can discover.&amp;nbsp; That table is always empty.&amp;nbsp; This behavior seems to be relatively new (upgraded from 5.8-5.9).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any hints/help here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 19:42:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-not-found/m-p/104351#M72856</guid>
      <dc:creator>blezek</dc:creator>
      <dc:date>2012-04-24T19:42:32Z</dc:date>
    </item>
  </channel>
</rss>

