<?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 Restart process after exception. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/restart-process-after-exception/m-p/156034#M110316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a process that is something along the lines of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start -&amp;gt; Service Task 1 (async = true) -&amp;gt; Service Task 2 (async = true) -&amp;gt; End.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However Service Task 2 has a chance of throwing an exception, which is fine, as it will only roll back to before Service Task 2.&amp;nbsp; What I'm unsure about is how to recover from this position if the number of retries is reached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the user guide in the section about Exclusive Jobs (&lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#exclusiveJobs" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#exclusiveJobs&lt;/A&gt;&lt;SPAN&gt;) it says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Activiti will retry the same job for a fixed maximum number of times only ('3' in the default configuration). After that, the job will still be present in the database but not be retried actively anymore. That means that an operator would need to trigger the job manually.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;How would this triggering manually be done?&amp;nbsp; is there an API call to resume a job that has hit the retry limit?&amp;nbsp; or is it some manipulation of the database that would need to be done in order to achieve this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Mar 2014 22:11:42 GMT</pubDate>
    <dc:creator>mhanrahan</dc:creator>
    <dc:date>2014-03-16T22:11:42Z</dc:date>
    <item>
      <title>Restart process after exception.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-process-after-exception/m-p/156034#M110316</link>
      <description>I have a process that is something along the lines of&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;tart -&amp;gt; Service Task 1 (async = true) -&amp;gt; Service Task 2 (async = true) -&amp;gt; End.However Service Task 2 has a chance of throwing an exception, which is fine, as it will only roll back to before Service Task 2.&amp;nbsp; What I'm unsure about is how</description>
      <pubDate>Sun, 16 Mar 2014 22:11:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-process-after-exception/m-p/156034#M110316</guid>
      <dc:creator>mhanrahan</dc:creator>
      <dc:date>2014-03-16T22:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Restart process after exception.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-process-after-exception/m-p/156035#M110317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, use the managementService.createJobQuery to get the job, and the managementService.executeJob() to execute it&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 10:29:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-process-after-exception/m-p/156035#M110317</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-03-17T10:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Restart process after exception.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-process-after-exception/m-p/156036#M110318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to do this with only database access?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my case it is an async task that failed and I want to rerun it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I now have to write a java application that connects to the Activiti instance or is there a way to remove the entry in ACT_RU_JOB and insert a new one so that it will be executed the next time the executor runs?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 17:42:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-process-after-exception/m-p/156036#M110318</guid>
      <dc:creator>david_bellem</dc:creator>
      <dc:date>2014-07-21T17:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Restart process after exception.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restart-process-after-exception/m-p/156037#M110319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can set the 'retries' of the job to 3 again. The job executor will pick it up again then.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 07:31:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restart-process-after-exception/m-p/156037#M110319</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-07-25T07:31:53Z</dc:date>
    </item>
  </channel>
</rss>

