<?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 changing sequenceflow at execution time in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/changing-sequenceflow-at-execution-time/m-p/85913#M58027</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;Is there a way to change a sequenceflow definition in a running process instance ? Here's why i think i need this: one of our processes contains a chain of user tasks (a 'validation chain') whereby a document is passed from one user to the other for validation / rejection. The initial order of the user tasks is known when the chain starts so we can easily model this. However, specific users in the chain are allowed to introduce new users at runtime, or remove users in the chain after them, or just completely reorder the chain if they think it is appropriate. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for example we have this initial user task chain:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A-&amp;gt;B-&amp;gt;C-&amp;gt;D-&amp;gt;E&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process instance gets to C which decides that D should no longer participate, and before E we should have new user tasks X and Y&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A-&amp;gt;B-&amp;gt;C-&amp;gt;X-&amp;gt;Y-&amp;gt;E&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would not want to model these as adhoc tasks because they have no real relation to the existing process flow and i would need to keep track of the sequence flow between them myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i looked at BpmnParse and i can see that PvmTransition objects are created inside of ActivityImpl, but all that is heavily 'IMPL' so i'm not sure how safe it is to start messing with this myself. Also i did not see a way to remove existing links, maybe this is done elsewhere..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do i have any other options to implement this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2012 05:52:53 GMT</pubDate>
    <dc:creator>heymjo</dc:creator>
    <dc:date>2012-03-29T05:52:53Z</dc:date>
    <item>
      <title>changing sequenceflow at execution time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changing-sequenceflow-at-execution-time/m-p/85913#M58027</link>
      <description>Hi,Is there a way to change a sequenceflow definition in a running process instance ? Here's why i think i need this: one of our processes contains a chain of user tasks (a 'validation chain') whereby a document is passed from one user to the other for validation / rejection. The initial order of th</description>
      <pubDate>Thu, 29 Mar 2012 05:52:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changing-sequenceflow-at-execution-time/m-p/85913#M58027</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2012-03-29T05:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: changing sequenceflow at execution time</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changing-sequenceflow-at-execution-time/m-p/85914#M58028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Heymjo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also looking for this option. Did you find any solution for this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please let me know, if you have any solution for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 04:58:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changing-sequenceflow-at-execution-time/m-p/85914#M58028</guid>
      <dc:creator>koteswarrao</dc:creator>
      <dc:date>2015-03-31T04:58:42Z</dc:date>
    </item>
  </channel>
</rss>

