<?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: when i signal receive task in side subprocess with parallel and sequential flows. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/when-i-signal-receive-task-in-side-subprocess-with-parallel-and/m-p/68146#M22654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;List&amp;lt;Execution&amp;gt; execution = &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;runtimeService&lt;/SPAN&gt;.createExecutionQuery().processInstanceId(processInstanceId).list();&lt;BR /&gt;Iterator&amp;lt;Execution&amp;gt; executionIterator = execution.iterator();&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;while&lt;/SPAN&gt;(executionIterator.hasNext()){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution exec = executionIterator.next();&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;if&lt;/SPAN&gt;(exec &lt;SPAN style="color: #000080; font-weight: bold;"&gt;instanceof &lt;/SPAN&gt;ProcessInstance){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HashMap&amp;lt;String, Object&amp;gt; hashMap = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;HashMap&amp;lt;&amp;gt;();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hashMap.put(WorkflowServiceConstants.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;RECEIVE_TASK_IN_ERROR&lt;/SPAN&gt;, Boolean.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;FALSE&lt;/SPAN&gt;);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;runtimeService&lt;/SPAN&gt;.setVariables(exec.getId(), hashMap);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;runtimeService&lt;/SPAN&gt;.signal(exec.getId());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I have tried using the processInstaneID aswell. But getting similar issue. Could some one from activiti team please respond to my query.&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2018 09:03:21 GMT</pubDate>
    <dc:creator>chiranjeeviveer</dc:creator>
    <dc:date>2018-05-04T09:03:21Z</dc:date>
    <item>
      <title>when i signal receive task in side subprocess with parallel and sequential flows.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/when-i-signal-receive-task-in-side-subprocess-with-parallel-and/m-p/68145#M22653</link>
      <description>Attached my flow diagram. Am trying to signal the receive task. (in diagram its the ExecuteTask block.)public void resumeHaltFlow(String executionId) {&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution execution = runtimeService.createExecutionQuery().executionId(executionId).singleResult();&amp;nbsp;&amp;nbsp;&amp;nbsp; if (execution != null) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HashMap&amp;amp;l</description>
      <pubDate>Mon, 30 Apr 2018 09:26:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/when-i-signal-receive-task-in-side-subprocess-with-parallel-and/m-p/68145#M22653</guid>
      <dc:creator>chiranjeeviveer</dc:creator>
      <dc:date>2018-04-30T09:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: when i signal receive task in side subprocess with parallel and sequential flows.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/when-i-signal-receive-task-in-side-subprocess-with-parallel-and/m-p/68146#M22654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;List&amp;lt;Execution&amp;gt; execution = &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;runtimeService&lt;/SPAN&gt;.createExecutionQuery().processInstanceId(processInstanceId).list();&lt;BR /&gt;Iterator&amp;lt;Execution&amp;gt; executionIterator = execution.iterator();&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;while&lt;/SPAN&gt;(executionIterator.hasNext()){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution exec = executionIterator.next();&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;if&lt;/SPAN&gt;(exec &lt;SPAN style="color: #000080; font-weight: bold;"&gt;instanceof &lt;/SPAN&gt;ProcessInstance){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HashMap&amp;lt;String, Object&amp;gt; hashMap = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;HashMap&amp;lt;&amp;gt;();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hashMap.put(WorkflowServiceConstants.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;RECEIVE_TASK_IN_ERROR&lt;/SPAN&gt;, Boolean.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;FALSE&lt;/SPAN&gt;);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;runtimeService&lt;/SPAN&gt;.setVariables(exec.getId(), hashMap);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;runtimeService&lt;/SPAN&gt;.signal(exec.getId());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I have tried using the processInstaneID aswell. But getting similar issue. Could some one from activiti team please respond to my query.&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 09:03:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/when-i-signal-receive-task-in-side-subprocess-with-parallel-and/m-p/68146#M22654</guid>
      <dc:creator>chiranjeeviveer</dc:creator>
      <dc:date>2018-05-04T09:03:21Z</dc:date>
    </item>
  </channel>
</rss>

