<?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: How to repeat a failed service task using intermediate timer catching event's time cycle config? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-repeat-a-failed-service-task-using-intermediate-timer/m-p/30575#M12999</link>
    <description>&lt;P&gt;I suggest to redesign your process using a BPMN error event attached to your Service task and then use a ScriptTask or another ServiceTask to manage the counter.&lt;/P&gt;
&lt;P&gt;Something similar to the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://www.activiti.org/userguide/6.latest/images/bpmn.boundary.error.example.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;Look at the following documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.activiti.org/userguide/6.latest/#serviceTaskBpmnErrors" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.activiti.org/userguide/6.latest/#serviceTaskBpmnErrors&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2023 14:22:29 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2023-02-22T14:22:29Z</dc:date>
    <item>
      <title>How to repeat a failed service task using intermediate timer catching event's time cycle config?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-repeat-a-failed-service-task-using-intermediate-timer/m-p/30573#M12997</link>
      <description>&lt;P&gt;I have a service task. When it fails, I'm setting a boolean process variable "taskFailed" to true. An exclusive gateway after this task should end the flow if taskFailed is false or re-direct flow to a intermediate time event when taskFailed is true.&lt;BR /&gt;&lt;BR /&gt;Using this intermediate timer catching event, after 1 min, I wanna redirect flow back to service task so that I could retry it. I also want to retry it for 5 times, waiting for a min each time before retry. So in the intermediate timeer catching event, I could set lifecycle to R5/PT1M.&lt;BR /&gt;&lt;BR /&gt;Now after retrying for 5 times, if the task still fails, I want to end process. Now how do I tell intermediate time event to end process after 5th recurring time? How should I re-direct this intermediate timer event to an end event after time cycle finishes?&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/240i3138806A60E9C1E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 16:06:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-repeat-a-failed-service-task-using-intermediate-timer/m-p/30573#M12997</guid>
      <dc:creator>ProgentysDev</dc:creator>
      <dc:date>2022-04-06T16:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to repeat a failed service task using intermediate timer catching event's time cycle config?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-repeat-a-failed-service-task-using-intermediate-timer/m-p/30574#M12998</link>
      <description>&lt;P&gt;I am looking for an answer to same query.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 11:01:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-repeat-a-failed-service-task-using-intermediate-timer/m-p/30574#M12998</guid>
      <dc:creator>amod-gadre</dc:creator>
      <dc:date>2023-02-14T11:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to repeat a failed service task using intermediate timer catching event's time cycle config?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-repeat-a-failed-service-task-using-intermediate-timer/m-p/30575#M12999</link>
      <description>&lt;P&gt;I suggest to redesign your process using a BPMN error event attached to your Service task and then use a ScriptTask or another ServiceTask to manage the counter.&lt;/P&gt;
&lt;P&gt;Something similar to the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://www.activiti.org/userguide/6.latest/images/bpmn.boundary.error.example.png" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;Look at the following documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.activiti.org/userguide/6.latest/#serviceTaskBpmnErrors" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.activiti.org/userguide/6.latest/#serviceTaskBpmnErrors&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 14:22:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-repeat-a-failed-service-task-using-intermediate-timer/m-p/30575#M12999</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2023-02-22T14:22:29Z</dc:date>
    </item>
  </channel>
</rss>

