<?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 Repeat a certain part of the process tree. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/repeat-a-certain-part-of-the-process-tree/m-p/154126#M108617</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;BR /&gt;&lt;SPAN&gt;we have a process on which we want to start 1 to n sub-processes, where we ofc. don't know n during designtime. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The subprocesses should be started, whenever a user completes a certain task on the parent process. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This certain Task however should stay available for further usage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My first thought was to build a "loop", so whenever the "StartAnotherInstance"-Task is completed, a subprocess is started, and then the execution returns to another instance of the "StartAnotherInstance"-Task… However theres a problem, when 2 people are working at the same time. The one that first completes the "StartAnotherInstance"-Task will work, but the second one ofc. will work on an already completed task, and therefore can not complete it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to "complete" a Task (and let the execution continue) without actually "completing" the given task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically a Task that can be completed infinite times, without beeing actually closed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe i'm running into the X-Y Problem here (&lt;/SPAN&gt;&lt;A href="http://meta.stackoverflow.com/questions/66377/what-is-the-xy-problem" rel="nofollow noopener noreferrer"&gt;http://meta.stackoverflow.com/questions/66377/what-is-the-xy-problem&lt;/A&gt;&lt;SPAN&gt;), and my desired Approach is not really the solution to my problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions are welcome &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Nov 2013 10:17:59 GMT</pubDate>
    <dc:creator>dognose</dc:creator>
    <dc:date>2013-11-04T10:17:59Z</dc:date>
    <item>
      <title>Repeat a certain part of the process tree.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/repeat-a-certain-part-of-the-process-tree/m-p/154126#M108617</link>
      <description>Hello,we have a process on which we want to start 1 to n sub-processes, where we ofc. don't know n during designtime. The subprocesses should be started, whenever a user completes a certain task on the parent process. This certain Task however should stay available for further usage.My first thought</description>
      <pubDate>Mon, 04 Nov 2013 10:17:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/repeat-a-certain-part-of-the-process-tree/m-p/154126#M108617</guid>
      <dc:creator>dognose</dc:creator>
      <dc:date>2013-11-04T10:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat a certain part of the process tree.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/repeat-a-certain-part-of-the-process-tree/m-p/154127#M108618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try to use multiinstance:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works differently from your proposal but I think it could help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.activiti.org/userguide/#bpmnMultiInstance" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#bpmnMultiInstance&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 13:31:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/repeat-a-certain-part-of-the-process-tree/m-p/154127#M108618</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-11-04T13:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat a certain part of the process tree.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/repeat-a-certain-part-of-the-process-tree/m-p/154128#M108619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thx for your reply. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already know the multiinstance, but that's unfortunately not going to work. If multiinstance is the "foreach" of BPMN, then i need to use the "while(true)" so to say &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no list available on how often i need to repeat the certain process part. It's not predictable, because it only depends on how often a user clicks on a button.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process is about proposing different dates, times, locations etc for an event. Each proposal should be a subprocess, because there needs to be multiple approvals for each proposal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, Person A says "Let's make a beach party", 2 Persons approve and then the process should be in kind of a "waiting" state, where other people can propose the stuff above. So the Task "Propose Conditions" should last forever and every proposal should start a subprocess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like this, so to say:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;while (noLocationFixed){&lt;BR /&gt;&amp;nbsp; if (newProposal){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; startProposalSubprocess();&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 09:58:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/repeat-a-certain-part-of-the-process-tree/m-p/154128#M108619</guid>
      <dc:creator>dognose</dc:creator>
      <dc:date>2013-11-05T09:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat a certain part of the process tree.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/repeat-a-certain-part-of-the-process-tree/m-p/154129#M108620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What you are looking for is really specific to your use case. So what you could do is implement your own ActivityBehavior service task. From there you can fire off sub processes and still keep the task open until you want it to complete.&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, 05 Nov 2013 12:13:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/repeat-a-certain-part-of-the-process-tree/m-p/154129#M108620</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-11-05T12:13:46Z</dc:date>
    </item>
  </channel>
</rss>

