<?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 All outgoing steps are executed in subworkflow using Call Activity in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/all-outgoing-steps-are-executed-in-subworkflow-using-call/m-p/8757#M3962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;In my process I use Call Activity which references a sub process and this subprocess has &lt;STRONG&gt;two&lt;/STRONG&gt; outgoing sequence flows.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;When the Call Activiti subprocess completed, all the outgoing sequence flow executed. But i want the execution to happen based on the subprocess results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;Please can you help me how to resolve this ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;Activiti XML looks like below :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;definitions xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns:activiti="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" xmlns:bpmndi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdc="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" typeLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" expressionLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;&lt;SPAN&gt;" targetNamespace="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn20" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn20&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;process id="SUBF" name="SUBF" isExecutable="true"&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;activiti:executionListener xmlns:activiti="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" class="com.datagenic.gwf.activiti.ProcessStartInterceptor" event="start"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;activiti:executionListener xmlns:activiti="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" class="com.datagenic.gwf.activiti.ProcessEndInterceptor" event="end"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="Start-start" name="Start-start" sourceRef="Start" targetRef="CF11"/&amp;gt;&lt;BR /&gt; &amp;lt;startEvent id="Start" name="Start"/&amp;gt;&lt;BR /&gt; &amp;lt;serviceTask id="LOGGERFAILED" name="LOGGERFAILED" activiti:class="com.datagenic.gwf.activiti.ActivitiAction"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="LOGGERFAILED-ok" name="LOGGERFAILED-ok" sourceRef="LOGGERFAILED" targetRef="End"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="LOGGERFAILED-Failure" name="LOGGERFAILED-Failure" sourceRef="LOGGERFAILED" targetRef="Failure"/&amp;gt;&lt;BR /&gt; &amp;lt;serviceTask id="LOGGERSUCCESS" name="LOGGERSUCCESS" activiti:class="com.datagenic.gwf.activiti.ActivitiAction"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="LOGGERSUCCESS-ok" name="LOGGERSUCCESS-ok" sourceRef="LOGGERSUCCESS" targetRef="MAINEND"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="LOGGERSUCCESS-Failure" name="LOGGERSUCCESS-Failure" sourceRef="LOGGERSUCCESS" targetRef="Failure"/&amp;gt;&lt;BR /&gt; &amp;lt;callActivity id="CF11" name="CF11" calledElement="CF1"&amp;gt;&lt;BR /&gt; &amp;lt;documentation&amp;gt;CF1&amp;lt;/documentation&amp;gt;&lt;BR /&gt; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;activiti:executionListener class="com.datagenic.gwf.activiti.ProcessStartInterceptor" event="start"/&amp;gt;&lt;BR /&gt; &amp;lt;activiti:executionListener class="com.datagenic.gwf.activiti.ProcessEndInterceptor" event="end"/&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;actitivi:in xmlns:actitivi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" source="ROOT" target="ROOT"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;actitivi:in xmlns:actitivi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" source="JOB_EXECUTION_ID" target="JOB_EXECUTION_ID"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;actitivi:in xmlns:actitivi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" source="CURRENT" target="CURRENT"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt; &amp;lt;/callActivity&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="CF11-COPYFILESUCCESS" name="CF11-COPYFILESUCCESS" sourceRef="CF11" targetRef="LOGGERSUCCESS"/&amp;gt;&lt;BR /&gt; &amp;lt;sequenceFlow id="CF11-COPYFILEFAILED" name="CF11-COPYFILEFAILED" sourceRef="CF11" targetRef="LOGGERFAILED"/&amp;gt;&lt;BR /&gt; &amp;lt;endEvent id="End" name="End"&amp;gt;&lt;BR /&gt; &amp;lt;documentation&amp;gt;failure&amp;lt;/documentation&amp;gt;&lt;BR /&gt; &amp;lt;/endEvent&amp;gt;&lt;BR /&gt; &amp;lt;endEvent id="MAINEND" name="MAINEND"&amp;gt;&lt;BR /&gt; &amp;lt;documentation&amp;gt;success&amp;lt;/documentation&amp;gt;&lt;BR /&gt; &amp;lt;/endEvent&amp;gt;&lt;BR /&gt; &amp;lt;endEvent id="Failure" name="Failure"&amp;gt;&lt;BR /&gt; &amp;lt;documentation&amp;gt;failure&amp;lt;/documentation&amp;gt;&lt;BR /&gt; &amp;lt;/endEvent&amp;gt;&lt;BR /&gt; &amp;lt;/process&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNDiagram id="BPMNDiagram_SUBF"&amp;gt;&lt;BR /&gt; &amp;lt;bpmndi:BPMNPlane bpmnElement="SUBF" id="BPMNPlane_SUBF"/&amp;gt;&lt;BR /&gt; &amp;lt;/bpmndi:BPMNDiagram&amp;gt;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2017 06:16:23 GMT</pubDate>
    <dc:creator>alokreturns</dc:creator>
    <dc:date>2017-08-10T06:16:23Z</dc:date>
    <item>
      <title>All outgoing steps are executed in subworkflow using Call Activity</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/all-outgoing-steps-are-executed-in-subworkflow-using-call/m-p/8757#M3962</link>
      <description>Hi,In my process I use Call Activity which references a sub process and this subprocess has two outgoing sequence flows.&amp;nbsp;When the Call Activiti subprocess completed, all the outgoing sequence flow executed. But i want the execution to happen based on the subprocess results.Please can you help me how</description>
      <pubDate>Thu, 10 Aug 2017 06:16:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/all-outgoing-steps-are-executed-in-subworkflow-using-call/m-p/8757#M3962</guid>
      <dc:creator>alokreturns</dc:creator>
      <dc:date>2017-08-10T06:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: All outgoing steps are executed in subworkflow using Call Activity</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/all-outgoing-steps-are-executed-in-subworkflow-using-call/m-p/8758#M3963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the normal behaviour AFAIK - you should typically not have two outgoing sequence flows on a normal behaviour. Instead, have a single sequence flow go to a exclusive gateway, and from there you can have two outgoing sequence flows. The exclusive gateway knows how to handle multiple sequence flows, specifically that it can take your configuration (condition on sequence flow + default flow) to decide which one to take...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 16:04:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/all-outgoing-steps-are-executed-in-subworkflow-using-call/m-p/8758#M3963</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-10T16:04:36Z</dc:date>
    </item>
  </channel>
</rss>

