<?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 Dynamically add an instance to Multi-instance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-add-an-instance-to-multi-instance/m-p/125328#M88192</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;I am new to activiti so please excuse me if what I am asking is to basic but I could find any proper answer for it in the forum. Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scenario&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to implement a workflow to review different files/attachments that a PM uploads to a repository. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This revision process for each of those files will consist in 5 different steps. (subprocess)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The file revisions are independent. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;While there are still some files left to be reviewed, the PM can upload new files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When a new file is uploaded, a new revision process for that file must be started … and joined to the N previously uploaded files with an on-going revision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once all the files are marked as review, the process is finished.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pseudo-Schema:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Start revision (human activity) -&amp;gt; Review files (n independent sub-processes) -&amp;gt; Close revision (human activity/service call, whatever)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;… but the number of files (n) might evolve during the review process (it is not known in advance).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What does activiti offer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read this on the documentation about Multi-instances:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"The number of instances are calculated once, when entering the activity"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if this is true, my hands are laced, aren't they?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there are way to dynamically add a new "instance" to a currently "started" multi-instance activity? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, could you please explain me how?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlos&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jun 2013 10:28:06 GMT</pubDate>
    <dc:creator>cgarci</dc:creator>
    <dc:date>2013-06-25T10:28:06Z</dc:date>
    <item>
      <title>Dynamically add an instance to Multi-instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-add-an-instance-to-multi-instance/m-p/125328#M88192</link>
      <description>Hello,I am new to activiti so please excuse me if what I am asking is to basic but I could find any proper answer for it in the forum. Thanks!ScenarioI have to implement a workflow to review different files/attachments that a PM uploads to a repository. This revision process for each of those files</description>
      <pubDate>Tue, 25 Jun 2013 10:28:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-add-an-instance-to-multi-instance/m-p/125328#M88192</guid>
      <dc:creator>cgarci</dc:creator>
      <dc:date>2013-06-25T10:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add an instance to Multi-instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-add-an-instance-to-multi-instance/m-p/125329#M88193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, small misstyping error. In the first sentence I meant " I COULDN'T find any proper answer"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 07:29:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-add-an-instance-to-multi-instance/m-p/125329#M88193</guid>
      <dc:creator>cgarci</dc:creator>
      <dc:date>2013-06-26T07:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add an instance to Multi-instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-add-an-instance-to-multi-instance/m-p/125330#M88194</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;Anybody has an idea about this ? I have exactly the same need. So far it would require to "manually" create an execution and attach it to the hierarchy managing the multi-instance + update all the others to update nrOfInstances and nrOfActiveInstances. But it seems impossible to create executions from scratch in the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 09:50:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-add-an-instance-to-multi-instance/m-p/125330#M88194</guid>
      <dc:creator>pcuvecle_9059</dc:creator>
      <dc:date>2014-06-06T09:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically add an instance to Multi-instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-add-an-instance-to-multi-instance/m-p/125331#M88195</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;Currently it is not supported by API, (I think). There are at least 2 possibilities:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. you can extend activiti API,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. change your process model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would prefer 2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 06:24:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-add-an-instance-to-multi-instance/m-p/125331#M88195</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-09T06:24:03Z</dc:date>
    </item>
  </channel>
</rss>

