<?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 Resume failed synchronous service task in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/resume-failed-synchronous-service-task/m-p/21150#M9321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using Alfresco process service 1.9 in my application. I have question mainly on exception in service task.&lt;/P&gt;&lt;P&gt;Ex. :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start event-&amp;gt; serviceTask1-&amp;gt;serviceTask2-&amp;gt;serviceTask3-&amp;gt;End Event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically we have three synchronous service tasks and each task communicate with external system by Rest endpoint and which we implemented using JavaDelegate. Now&amp;nbsp;our requirement is likes, if servicetask 2 failed due the any reason like rest point exception then we have to execute/resume flow from failed point manually after issue fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would i implement such scenario using alfresco process service? Please suggest any solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2019 12:14:50 GMT</pubDate>
    <dc:creator>bhausaheb_sanga</dc:creator>
    <dc:date>2019-02-05T12:14:50Z</dc:date>
    <item>
      <title>Resume failed synchronous service task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/resume-failed-synchronous-service-task/m-p/21150#M9321</link>
      <description>Hi,i am using Alfresco process service 1.9 in my application. I have question mainly on exception in service task.Ex. :&amp;nbsp;start event-&amp;gt; serviceTask1-&amp;gt;serviceTask2-&amp;gt;serviceTask3-&amp;gt;End EventBasically we have three synchronous service tasks and each task communicate with external system by Res</description>
      <pubDate>Tue, 05 Feb 2019 12:14:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/resume-failed-synchronous-service-task/m-p/21150#M9321</guid>
      <dc:creator>bhausaheb_sanga</dc:creator>
      <dc:date>2019-02-05T12:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Resume failed synchronous service task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/resume-failed-synchronous-service-task/m-p/21151#M9322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you can use Gateways or Signals based on the requirement wether you want to resume next service task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Using gateway you can (ex: exclusive gateway) you can decide to resume with next service task or start from the beginning based on the condition(in order to evaluate conditions you can make use of variables).&lt;/P&gt;&lt;P&gt;2. Another approach is to use catch and throw intermediate signal events.&lt;/P&gt;&lt;P&gt;You can refer to to these BPM constructs in activiti user guide&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink10" href="https://www.activiti.org/userguide/" title="https://www.activiti.org/userguide/" rel="nofollow noopener noreferrer"&gt;https://www.activiti.org/userguide/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2019 04:57:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/resume-failed-synchronous-service-task/m-p/21151#M9322</guid>
      <dc:creator>mdtabrezmca</dc:creator>
      <dc:date>2019-02-06T04:57:40Z</dc:date>
    </item>
  </channel>
</rss>

