<?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: Approval process with approvers loop by division in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/approval-process-with-approvers-loop-by-division/m-p/237676#M190806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Point is, when at design time (of the process), I don't know how many users (roles) will be required to approve the order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on the purchase request I'll know how many approvers will be involved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, consider the following table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[table]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [tr][td]Division[/td][td]Qty[/td][td]Amount Us$ [/td][/tr]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [tr][td]Ab1[/td][td]100[/td][td]1500.00[/td][/tr]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [tr][td]Bd7[/td][td]150[/td][td]1750.00[/td][/tr]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [tr][td]Xy2[/td][td]200[/td][td]3000.00[/td][/tr]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/table]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, this information is in place in the Purchase Request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, for order approval, I need some manager or manager-assistant from each division (from the purchase request) to approve the order (sequentially or not).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, the profile that is allowed to approve is "manager" or "manager-assistant", but the order is really approved only after the three (in the example above) have approved the order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For other purchase request, I would have only one division, and for other purchase request I can have 10 divisions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, at design time, I have no control on which users are required to participate in the approval process - only at run-time I'll know, based on the information available in the purchase request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In time: one purchase request would have requests from several divisions and will become one order.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jun 2016 17:59:10 GMT</pubDate>
    <dc:creator>edsonrichter</dc:creator>
    <dc:date>2016-06-03T17:59:10Z</dc:date>
    <item>
      <title>Approval process with approvers loop by division</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/approval-process-with-approvers-loop-by-division/m-p/237674#M190804</link>
      <description>I've a buy opportunity that can be shared between several divisions of the company.So, to complete the buy, I need at least one approver from each division to accept the offer.All approvers will have same profile or permission, but each one in own's division.Can I make a loop to sequencially ask app</description>
      <pubDate>Fri, 03 Jun 2016 03:47:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/approval-process-with-approvers-loop-by-division/m-p/237674#M190804</guid>
      <dc:creator>edsonrichter</dc:creator>
      <dc:date>2016-06-03T03:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Approval process with approvers loop by division</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/approval-process-with-approvers-loop-by-division/m-p/237675#M190805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Edson,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can I make a loop to sequencially ask approvers for acceptance of the offer?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Yes, (seqential/parallel)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://activiti.org/userguide/index.html#bpmnMultiInstance" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#bpmnMultiInstance&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;can I throw new approval task for each division as part of the start process?&lt;BR /&gt;can I throw new approval task for each division as part of the start process?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Clarify, pls&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is that feasible (I mean, a process with tasks that will vary based on the number of divisions)?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Yes&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Would I need to customize the process after loading it from the XML?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;No, just change params.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you help me on how can I model this process?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;org.activiti.engine.test.bpmn.multiinstance.MultiInstanceTest&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;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 06:37:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/approval-process-with-approvers-loop-by-division/m-p/237675#M190805</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-06-03T06:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Approval process with approvers loop by division</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/approval-process-with-approvers-loop-by-division/m-p/237676#M190806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Point is, when at design time (of the process), I don't know how many users (roles) will be required to approve the order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on the purchase request I'll know how many approvers will be involved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, consider the following table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[table]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [tr][td]Division[/td][td]Qty[/td][td]Amount Us$ [/td][/tr]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [tr][td]Ab1[/td][td]100[/td][td]1500.00[/td][/tr]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [tr][td]Bd7[/td][td]150[/td][td]1750.00[/td][/tr]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [tr][td]Xy2[/td][td]200[/td][td]3000.00[/td][/tr]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/table]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, this information is in place in the Purchase Request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, for order approval, I need some manager or manager-assistant from each division (from the purchase request) to approve the order (sequentially or not).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, the profile that is allowed to approve is "manager" or "manager-assistant", but the order is really approved only after the three (in the example above) have approved the order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For other purchase request, I would have only one division, and for other purchase request I can have 10 divisions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, at design time, I have no control on which users are required to participate in the approval process - only at run-time I'll know, based on the information available in the purchase request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In time: one purchase request would have requests from several divisions and will become one order.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 17:59:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/approval-process-with-approvers-loop-by-division/m-p/237676#M190806</guid>
      <dc:creator>edsonrichter</dc:creator>
      <dc:date>2016-06-03T17:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Approval process with approvers loop by division</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/approval-process-with-approvers-loop-by-division/m-p/237677#M190807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Forget, the solution is quite simple: RTFM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I've reading, I've learned the right way for doing this kind of dynamic tasks (without dealing with complex programming solution):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;userTask id="approvalTask" name="Manager approval" activiti:assignee="${assignee}"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;multiInstanceLoopCharacteristics isSequential="true"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; activiti:collection="${myService.resolveUsersForTask(currentObject)}" activiti:elementVariable="assignee" &amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/multiInstanceLoopCharacteristics&amp;gt;&lt;BR /&gt;&amp;lt;/userTask&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jun 2016 17:46:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/approval-process-with-approvers-loop-by-division/m-p/237677#M190807</guid>
      <dc:creator>edsonrichter</dc:creator>
      <dc:date>2016-06-05T17:46:49Z</dc:date>
    </item>
  </channel>
</rss>

