<?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 Re: Batch processing with Activiti in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154643#M109080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure Im following your reasoning here. Why would you want to use signals to continue the batch?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not simply set a process variable that indicates the state?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2014 13:06:06 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-11-05T13:06:06Z</dc:date>
    <item>
      <title>Batch processing with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154638#M109075</link>
      <description>I'm looking to create a custom software product that can model a fairly complex manufacturing process.&amp;nbsp; There would be an incoming list of 100 items that all need to go through the same exact process.&amp;nbsp; We'd like to do this in one batch operation since all items are typically handled at once, however</description>
      <pubDate>Wed, 04 Sep 2013 14:53:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154638#M109075</guid>
      <dc:creator>kingsheldor</dc:creator>
      <dc:date>2013-09-04T14:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Batch processing with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154639#M109076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this goes without saying, but thought I should mention: Because of the tracking/positioning requirements, we want to avoid making each step handle 1 item and have our solution create 100 process instances.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 14:57:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154639#M109076</guid>
      <dc:creator>kingsheldor</dc:creator>
      <dc:date>2013-09-04T14:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Batch processing with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154640#M109077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1a Don't see a reason why not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1b If you use an embedded sub process it's the most efficient way. You can make this embedded sub process multi instance and create sub lists of your items with the right quantities that you defined in your post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 For an embedded sub processes the logical place would be a service task before the multi-instance sub process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 Don't think Activiti mandates them being in the same process definition. It's a design choice not an Activiti requirement.&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>Fri, 06 Sep 2013 17:54:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154640#M109077</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-06T17:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Batch processing with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154641#M109078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One think that I would do is to make a clear distinction between the manufacturing process of an individual item from the batching processes that take a bunch of items and perform a given production step. With this distinction in mind, you'd end with the following processes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. A process for each item, with human tasks representing each production step&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. One batching process for each manufacturing step. This processes consists of just&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; thtwo steps: collect items ready for production (up to the capacity of the cell), perform the production step (multiinstance human task)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Process instances of (1) become process variables for (2) and vice-versa, so you can track wich isnatnces where produced by a batch and the batch runs that participated in the production of a given instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that approach would also give you extra flexibility, as you can add new item production flows that share common steps ( eg, product 1 has an extra step 5) without any changes on existing processes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Sep 2013 17:24:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154641#M109078</guid>
      <dc:creator>pmsevestre</dc:creator>
      <dc:date>2013-09-07T17:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Batch processing with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154642#M109079</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 will borrow this thread, because it perfectly suits my problem. I have to design a bpmn process, which takes care of incoming orders (one process instance = one order), but the orders are processed in batch. The aim is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. to know at any moment in which state each order is,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. to process the orders in batches&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now.. The idea of pmsevstre seems good, except I don't know how to design it - could anyone please make a visual example? I thought I could make it with signals (see picture at the bottom), which would be thrown via the API, but at this time, the "analyse order" or "ship order" step is the same for every order. I would like to do it like pmsevstre suggested - i.e. to implement the "analyse order" as a sub-process in the order process, so that we could have different kind of orders, which demand different kind of analysis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The association lines (dotted lines) represent the signal throwing and catching between the batch and order process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And if there would be a way to reuse the "batch process", that would be great &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; (my example contains 2 separate process definitions for analysis and shipment batch)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BPMN example: &lt;/SPAN&gt;&lt;A href="https://copy.com/thumbs_public/ET1URFyG1yV2qmuc/activiti.png?size=1024" rel="nofollow noopener noreferrer"&gt;https://copy.com/thumbs_public/ET1URFyG1yV2qmuc/activiti.png?size=1024&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 23:34:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154642#M109079</guid>
      <dc:creator>ezg3ta</dc:creator>
      <dc:date>2014-11-04T23:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Batch processing with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154643#M109080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure Im following your reasoning here. Why would you want to use signals to continue the batch?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why not simply set a process variable that indicates the state?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 13:06:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154643#M109080</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-05T13:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Batch processing with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154644#M109081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason is, that I don't want the order process to continue until we have enough orders. And until we don't have enough orders, the task list would be full of tasks like "analyse order" - I don't want these tasks to be visible until we have a full batch (for example 20 orders). And even when we have one batch, it would be preferable to get tasks one at a time, or even better, to complete them all in one step (that could be done with a custom GUI, which lets us complete multiple process instances at once).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With that said, it is cruical that the orders have each its own process instance. Also bear in mind, that this is only a simplification of the real process, which is much more complex, but follows this pattern - multiple checkpoints for orders, which are processed in groups (batches), which may not be always the same (meaning that the group of orders, which were processed together in the "analyse" step, may not be the same as the group of orders in the "shipment" step).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway - it would be of great help, if one could simply make an example (preferably a BPMN) of what pmsevestre meant. &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>Wed, 05 Nov 2014 16:09:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154644#M109081</guid>
      <dc:creator>ezg3ta</dc:creator>
      <dc:date>2014-11-05T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Batch processing with Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154645#M109082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone wants that I make examples, i would be doing nothing besides that the whole day if I start doing that &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you need is a global signal. Have a process instance started for each of your orders. Make it go to an intermediate signal event that waits until the global signal is received. That would give you the semantics you described above.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 10:36:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/batch-processing-with-activiti/m-p/154645#M109082</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-10T10:36:08Z</dc:date>
    </item>
  </channel>
</rss>

