<?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 The receive task is not getting completed in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/the-receive-task-is-not-getting-completed/m-p/211720#M164850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have the following model - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Start -&amp;gt; Receive Task -&amp;gt; User Task -&amp;gt; End&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After starting the process the activity gets stuck at receive task. How to send the signal to the receive task so that it gets completed and the user task gets started?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using the following code - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Execution execution = runtimeService.createExecutionQuery()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; .processInstanceId(pi.getId())&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; .activityId("ReceiveTask")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; .singleResult();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;assertNotNull(execution);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;runtimeService.signal(execution.getId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The execution object is always null. We are getting the following exception - activitiObjectNotFoundException -&amp;gt;ExecutionID does not exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also in our example where is the ideal place to add the runtime.signal() call?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2016 06:37:43 GMT</pubDate>
    <dc:creator>kum9sud</dc:creator>
    <dc:date>2016-04-18T06:37:43Z</dc:date>
    <item>
      <title>The receive task is not getting completed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-receive-task-is-not-getting-completed/m-p/211720#M164850</link>
      <description>We have the following model - Start -&amp;gt; Receive Task -&amp;gt; User Task -&amp;gt; EndAfter starting the process the activity gets stuck at receive task. How to send the signal to the receive task so that it gets completed and the user task gets started?We are using the following code - Execution executio</description>
      <pubDate>Mon, 18 Apr 2016 06:37:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-receive-task-is-not-getting-completed/m-p/211720#M164850</guid>
      <dc:creator>kum9sud</dc:creator>
      <dc:date>2016-04-18T06:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: The receive task is not getting completed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-receive-task-is-not-getting-completed/m-p/211721#M164851</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;Did you check the executions in the engine? The right execution must be there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 13:58:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-receive-task-is-not-getting-completed/m-p/211721#M164851</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-04-18T13:58:36Z</dc:date>
    </item>
  </channel>
</rss>

