<?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 Parallel Gateway - set priority to execution path in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-set-priority-to-execution-path/m-p/162827#M116668</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;I have parallel gateway with two sequences , one has listener and another one has Message catch event. The listener executes first and throws an message to another process instance and again its throwing message back to another sequence of parallel gateway. but by this time message catch event in parallel hasnt reached. I mean its not there in the subscription table yet to receive the message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;below is the query which is trying to throw a message from another process to current parallel gateway message catch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;exec.getEngineServices().getRuntimeService().createExecutionQuery().messageEventSubscriptionName(messageName).processInstanceId(id) thrown null pointer exception .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I observed here is, though its parallel gateway , its not concurrent thread. So it executes sequence. Is it possible to set the priority set sequence flow in the gateway to make particular sequence flow to execute first?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; or anyother way to achieve this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the above scenario, I want message catch sequence flow executed first before sequence flow which has listener.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Dec 2013 05:11:36 GMT</pubDate>
    <dc:creator>raghuraman</dc:creator>
    <dc:date>2013-12-25T05:11:36Z</dc:date>
    <item>
      <title>Parallel Gateway - set priority to execution path</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-set-priority-to-execution-path/m-p/162827#M116668</link>
      <description>Hi,I have parallel gateway with two sequences , one has listener and another one has Message catch event. The listener executes first and throws an message to another process instance and again its throwing message back to another sequence of parallel gateway. but by this time message catch event in</description>
      <pubDate>Wed, 25 Dec 2013 05:11:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-set-priority-to-execution-path/m-p/162827#M116668</guid>
      <dc:creator>raghuraman</dc:creator>
      <dc:date>2013-12-25T05:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Gateway - set priority to execution path</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-set-priority-to-execution-path/m-p/162828#M116669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, Activiti does not use threads for parallel gateways: &lt;/SPAN&gt;&lt;A href="http://activiti.org/faq.html#WhatIsTheDifferenceBetweenProcessConcurrencyAndJavaConcurrency" rel="nofollow noopener noreferrer"&gt;http://activiti.org/faq.html#WhatIsTheDifferenceBetweenProcessConcurrencyAndJavaConcurrency&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The order of execution is the order of definition in the XML.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 10:46:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-set-priority-to-execution-path/m-p/162828#M116669</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-01-06T10:46:03Z</dc:date>
    </item>
  </channel>
</rss>

