<?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 BPMN guidance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-guidance/m-p/87538#M59307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a BPMN question.&amp;nbsp; I currently have 2 distinct workflows; we'll call them Workflow1 and Workflow2.&amp;nbsp; Currently, Workflow1 is triggered by a spring-integration file poller.&amp;nbsp; When the file arrives in the polled directory, Workflow1 process instance is started.&amp;nbsp; Workflow2 uses a spring scheduler to wake up and look for a status in a database table.&amp;nbsp; Additionally, Workflow2 checks to see if it already ran today.&amp;nbsp; When the status is appropriate and the process has not run today, Workflow2 process instance is started.&amp;nbsp; These 2 workflows are independent of each other.&amp;nbsp; Also, Workflow1 and Workflow2 contain long-running tasks and are implemented using Receive/Wait tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, a new requirement is that after both Workflow1 and Workflow2 have been completed, Workflow3 (a new workflow) must be started.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm imagining that Workflow1 and Workflow2 should become either subprocesses or call activities and connected via parallel/join gateways and subsequently connecting to Workflow3 after the join, as such:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://activiti.org/userguide/images/bpmn.parallel.gateway.png" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/images/bpmn.parallel.gateway.png&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, my queston is how to invoke Workflow1 and Workflow2 subprocesses/call activities independently and yet still join to invoke Workflow3 subprocess/call activity?&amp;nbsp; Should i create receive tasks for both Workflow1 and Workflow2 subprocesses/call activities that perform the file polling and database polling which, when conditions are met, will signal the subprocess to continue?&amp;nbsp; Or should i use a boundary event?&amp;nbsp; Or is there a more appropriate way to achieve this in BPMN?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, if these subprocesses are wrapped in a workflow, what would be the appropriate way to start the parent workflow?&amp;nbsp; Basically, when the parent workflow completes, it needs to run again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your expert assistance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2012 18:30:25 GMT</pubDate>
    <dc:creator>aoliver</dc:creator>
    <dc:date>2012-10-24T18:30:25Z</dc:date>
    <item>
      <title>BPMN guidance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-guidance/m-p/87538#M59307</link>
      <description>Hello,I have a BPMN question.&amp;nbsp; I currently have 2 distinct workflows; we'll call them Workflow1 and Workflow2.&amp;nbsp; Currently, Workflow1 is triggered by a spring-integration file poller.&amp;nbsp; When the file arrives in the polled directory, Workflow1 process instance is started.&amp;nbsp; Workflow2 uses a spring sched</description>
      <pubDate>Wed, 24 Oct 2012 18:30:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-guidance/m-p/87538#M59307</guid>
      <dc:creator>aoliver</dc:creator>
      <dc:date>2012-10-24T18:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN guidance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-guidance/m-p/87539#M59308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you mean that workflow 3 can only be executed *once* for each pair of workflow 1 and 2 that has been executed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, than indeed you will need call activity + a parallel gateway join.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You will also need to implement some kind of loop + condition check for your workflow 1 and 2 to see if they can be executed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 07:28:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-guidance/m-p/87539#M59308</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-10-25T07:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN guidance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-guidance/m-p/87540#M59309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, Workflow3 can only execute after both Workflow1 and Workflow2 are completed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you point me to an example of the BPMN constructs used for the loop + check condition you are referencing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you again for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 13:17:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-guidance/m-p/87540#M59309</guid>
      <dc:creator>aoliver</dc:creator>
      <dc:date>2012-10-25T13:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN guidance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-guidance/m-p/87541#M59310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, there is loop support in BPMN, but that is too complex for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would simply do seomthing like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check condition workflow 1 —(ok)–&amp;gt;&amp;nbsp; execute workflow 1 –&amp;gt; go to join&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&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;&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;&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; –(not ok) –&amp;gt; timer intermediate event –&amp;gt; go back to step 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And the same for workflow 2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 06:15:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-guidance/m-p/87541#M59310</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-10-26T06:15:37Z</dc:date>
    </item>
  </channel>
</rss>

