<?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 Re: Get execution id to signal a receiveTask in a subprocess in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-execution-id-to-signal-a-receivetask-in-a-subprocess/m-p/82163#M55069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Had similar problem and the solution was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.processInstanceBusinessKey(businessKey, true)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to include child executions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jul 2016 08:04:29 GMT</pubDate>
    <dc:creator>borovinskih</dc:creator>
    <dc:date>2016-07-15T08:04:29Z</dc:date>
    <item>
      <title>Get execution id to signal a receiveTask in a subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-execution-id-to-signal-a-receivetask-in-a-subprocess/m-p/82161#M55067</link>
      <description>Hi,I have a workflow which contains a subprocess (embedded). This subprocess contains a receiveTask.I am writing a junit test in which I want to signal that receiveTask.In my process I have set the businessKey when creating the process and I also have a process variable which contains that business</description>
      <pubDate>Fri, 08 Jun 2012 11:50:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-execution-id-to-signal-a-receivetask-in-a-subprocess/m-p/82161#M55067</guid>
      <dc:creator>joachimvda</dc:creator>
      <dc:date>2012-06-08T11:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get execution id to signal a receiveTask in a subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-execution-id-to-signal-a-receivetask-in-a-subprocess/m-p/82162#M55068</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;An embedded sub process is only a container in the process definition, not a process definition on itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you would want that you need to use a call activity and a standalone sub process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So your code is actually the way to approach this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;runtimeService.createExecutionQuery().&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; activityId("wachtenAfgewerkt").&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; singleResult();&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;But you can extend this query with a specific processInstanceId or processDefinitionKey value to get the right instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 15:16:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-execution-id-to-signal-a-receivetask-in-a-subprocess/m-p/82162#M55068</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-06-12T15:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get execution id to signal a receiveTask in a subprocess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-execution-id-to-signal-a-receivetask-in-a-subprocess/m-p/82163#M55069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Had similar problem and the solution was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.processInstanceBusinessKey(businessKey, true)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to include child executions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2016 08:04:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-execution-id-to-signal-a-receivetask-in-a-subprocess/m-p/82163#M55069</guid>
      <dc:creator>borovinskih</dc:creator>
      <dc:date>2016-07-15T08:04:29Z</dc:date>
    </item>
  </channel>
</rss>

