<?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 force Activiti to retry a failed service task attached to a boundary event? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41845#M17548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 17:55:50 GMT</pubDate>
    <dc:creator>douglascrp</dc:creator>
    <dc:date>2017-04-11T17:55:50Z</dc:date>
    <item>
      <title>How to force Activiti to retry a failed service task attached to a boundary event?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41840#M17543</link>
      <description>I am using the Activiti engine embeded with Alfresco 5.0.d.In my workflow I have some boundary events, all of them attached with some service tasks used to send emails about expired tasks.There are moments where, because of connectivity issues, Alfresco is unable to reach the mail server, and as the</description>
      <pubDate>Mon, 10 Apr 2017 18:52:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41840#M17543</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-04-10T18:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to force Activiti to retry a failed service task attached to a boundary event?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41841#M17544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Douglas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This question has come up before on the forums, in &lt;A _jive_internal="true" href="https://community.alfresco.com/thread/222291-restart-process-after-exception" rel="nofollow noopener noreferrer"&gt;this post&lt;/A&gt;. As stated, you could either reset the number of retries for the job and the executor should pick it up again - OR you can manually trigger the job to try again using&amp;nbsp;managementService.createJobQuery to get the job, and the managementService.executeJob().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this fit your criteria for a fix?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully you'll be set on the right track &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;-JEarles&lt;BR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 20:26:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41841#M17544</guid>
      <dc:creator>jearles</dc:creator>
      <dc:date>2017-04-10T20:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to force Activiti to retry a failed service task attached to a boundary event?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41842#M17545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice. I was playing around with that even before seeing that thread (I know that playing with the database can be dangerous, but I decided to take the risk in this case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My update statement looks like this:&amp;nbsp;update ACT_RU_JOB set RETRIES_ = 3 where ID_ = 43144;&lt;/P&gt;&lt;P&gt;That seems to be&amp;nbsp;exactly what was suggested in this answer&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.alfresco.com/thread/222291-restart-process-after-exception#comment-790361" title="https://community.alfresco.com/thread/222291-restart-process-after-exception#comment-790361" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/thread/222291-restart-process-after-exception#comment-790361&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that change, the task got&amp;nbsp;executed again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 20:34:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41842#M17545</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-04-10T20:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to force Activiti to retry a failed service task attached to a boundary event?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41843#M17546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got one more question about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will the duedate update force the execution to wait to try again after the set date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was updating it for like, 5 minutes after "now".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 20:38:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41843#M17546</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-04-10T20:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to force Activiti to retry a failed service task attached to a boundary event?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41844#M17547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it should be picking up the jobs based on the due date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 17:28:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41844#M17547</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-04-11T17:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to force Activiti to retry a failed service task attached to a boundary event?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41845#M17548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 17:55:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-force-activiti-to-retry-a-failed-service-task-attached-to/m-p/41845#M17548</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-04-11T17:55:50Z</dc:date>
    </item>
  </channel>
</rss>

