<?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 Repeat Service Task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/repeat-service-task/m-p/243942#M197072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a process which does sequence of service tasks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Service&amp;nbsp; Task 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Service Task 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt;Service Task 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Process&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If any Service task processing fails (due to any data or other error), i want to restart/replay the Service task after the user fixes the data error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can this be done? How can i make the process wait and get back reprocessing the same service task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ANDAT&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:10:53 GMT</pubDate>
    <dc:creator>ad1</dc:creator>
    <dc:date>2016-06-15T20:10:53Z</dc:date>
    <item>
      <title>Repeat Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/repeat-service-task/m-p/243942#M197072</link>
      <description>I have a process which does sequence of service tasks.Start Process-&amp;gt;Service&amp;nbsp; Task 1-&amp;gt;Service Task 2-&amp;gt;Service Task 3End ProcessIf any Service task processing fails (due to any data or other error), i want to restart/replay the Service task after the user fixes the data error.How can this be</description>
      <pubDate>Wed, 15 Jun 2016 20:10:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/repeat-service-task/m-p/243942#M197072</guid>
      <dc:creator>ad1</dc:creator>
      <dc:date>2016-06-15T20:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/repeat-service-task/m-p/243943#M197073</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;I did it like this. I've taken two process variables Path and Exception and in service task when I come across an exception, I set the values as below. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; execution.setVariable("Path", "HandleException");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; String exText = org.apache.commons.lang3.exception.ExceptionUtils.getStackTrace(ex.fillInStackTrace());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; execution.setVariable("Exception", exText); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll&amp;nbsp; have two outgoing sequences from the service tasks, one of them will go to a user task and the other to the next service task/end. The one which goes to the user task will have a condition on the sequence flow where it checks if Path is HandleException. From the user task I have a sequence flow to an exclusive gateway which decides on the path to follow. Either to retry or to go to the next service task. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 11:08:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/repeat-service-task/m-p/243943#M197073</guid>
      <dc:creator>hari</dc:creator>
      <dc:date>2016-06-16T11:08:15Z</dc:date>
    </item>
  </channel>
</rss>

