<?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 Reject a multi-instance task in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/reject-a-multi-instance-task/m-p/20126#M8909</link>
    <description>&lt;P&gt;I am building a process model that has the following structure:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;Start event -&amp;gt; User 1 Task -&amp;gt; Reviewer 1 Task -&amp;gt; Reviewer 2 Task -&amp;gt; ... Reviewer N Task -&amp;gt; End event&lt;/FONT&gt;, where N is dynamic.&lt;/P&gt;&lt;P&gt;The flow is essentially sequential - completion of any task will result in creation of next task in the flow (for instance, "&lt;FONT color="#993366"&gt;User 1 Task&lt;/FONT&gt;" completion will result in "Reviewer 1 Task" being created and assigned to "Reviewer 1"), while rejection of any task will result in reopening/recreation of previous task (for instance, rejection at step "&lt;FONT color="#993366"&gt;Reviewer 2 Task&lt;/FONT&gt;" will result in "&lt;FONT color="#993366"&gt;Reviewer 1 Task&lt;/FONT&gt;" being reopened) in the flow.&lt;/P&gt;&lt;P&gt;Because N is 0 or greater, I intend to simplify this to:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;User 1 Task -&amp;gt; Reviewer N Task&lt;/FONT&gt;, where "&lt;FONT color="#993366"&gt;Reviewer N Task&lt;/FONT&gt;" is a multi-instance activity, with a loop cardinality of N, and type of "Sequential".&lt;/P&gt;&lt;P&gt;Having a completion condition helps me advance the flow when a task is considered complete, but how do I handle rejection of tasks in this multi-instance setup? Besides the rejection of subsequent review tasks, there's also the possibility of rejection of the first review task, in which case, I would want the flow to revert to step #1 (aka "&lt;FONT color="#993366"&gt;User 1 Task&lt;/FONT&gt;").&lt;/P&gt;&lt;P&gt;I see no reason to extract the review steps into a separate call-activity/subprocess, but I am not sure if that will even help in this case.&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
    <pubDate>Sat, 26 Oct 2019 00:24:12 GMT</pubDate>
    <dc:creator>mystarrocks</dc:creator>
    <dc:date>2019-10-26T00:24:12Z</dc:date>
    <item>
      <title>Reject a multi-instance task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reject-a-multi-instance-task/m-p/20126#M8909</link>
      <description>&lt;P&gt;I am building a process model that has the following structure:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;Start event -&amp;gt; User 1 Task -&amp;gt; Reviewer 1 Task -&amp;gt; Reviewer 2 Task -&amp;gt; ... Reviewer N Task -&amp;gt; End event&lt;/FONT&gt;, where N is dynamic.&lt;/P&gt;&lt;P&gt;The flow is essentially sequential - completion of any task will result in creation of next task in the flow (for instance, "&lt;FONT color="#993366"&gt;User 1 Task&lt;/FONT&gt;" completion will result in "Reviewer 1 Task" being created and assigned to "Reviewer 1"), while rejection of any task will result in reopening/recreation of previous task (for instance, rejection at step "&lt;FONT color="#993366"&gt;Reviewer 2 Task&lt;/FONT&gt;" will result in "&lt;FONT color="#993366"&gt;Reviewer 1 Task&lt;/FONT&gt;" being reopened) in the flow.&lt;/P&gt;&lt;P&gt;Because N is 0 or greater, I intend to simplify this to:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;User 1 Task -&amp;gt; Reviewer N Task&lt;/FONT&gt;, where "&lt;FONT color="#993366"&gt;Reviewer N Task&lt;/FONT&gt;" is a multi-instance activity, with a loop cardinality of N, and type of "Sequential".&lt;/P&gt;&lt;P&gt;Having a completion condition helps me advance the flow when a task is considered complete, but how do I handle rejection of tasks in this multi-instance setup? Besides the rejection of subsequent review tasks, there's also the possibility of rejection of the first review task, in which case, I would want the flow to revert to step #1 (aka "&lt;FONT color="#993366"&gt;User 1 Task&lt;/FONT&gt;").&lt;/P&gt;&lt;P&gt;I see no reason to extract the review steps into a separate call-activity/subprocess, but I am not sure if that will even help in this case.&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 00:24:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reject-a-multi-instance-task/m-p/20126#M8909</guid>
      <dc:creator>mystarrocks</dc:creator>
      <dc:date>2019-10-26T00:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reject a multi-instance task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reject-a-multi-instance-task/m-p/20127#M8910</link>
      <description>&lt;P&gt;If you have only a few number of tasks, then you can wait for other tasks to complete and check the rejection&amp;nbsp; using an exclusive gateway.&lt;/P&gt;&lt;P&gt;Alternatively use&amp;nbsp;&lt;A href="https://www.activiti.org/userguide/#bpmnBoundaryEvent" target="_self" rel="nofollow noopener noreferrer"&gt;Boundary events:&lt;/A&gt;&amp;nbsp;use a &lt;A href="https://www.activiti.org/userguide/#bpmnBoundaryErrorEvent" target="_self" rel="nofollow noopener noreferrer"&gt;Boundary Error Event&lt;/A&gt; which would subsequently cancel all the remaining tasks in your cardinality. You can use flow from the event according to your requirement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 05:24:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reject-a-multi-instance-task/m-p/20127#M8910</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2019-10-29T05:24:37Z</dc:date>
    </item>
  </channel>
</rss>

