<?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 Is there a way to make retry 0 in activiti engine. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/is-there-a-way-to-make-retry-0-in-activiti-engine/m-p/160337#M114313</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;Is there any configuration by which I can set retry of activiti engine for a task to zero (actually I don't need activiti to retry for job that has failed since I don't want to process failed tasks).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I am manually getting the job with jobId and making the retry to zero in case of any Exception. But in case of 'lockTimeInMillis' exceed my code does not execute as it is internal to activiti and it does retry. So is there a way by which I can disable this retry in any situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mahesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Apr 2014 10:12:29 GMT</pubDate>
    <dc:creator>mahesh_yadav</dc:creator>
    <dc:date>2014-04-28T10:12:29Z</dc:date>
    <item>
      <title>Is there a way to make retry 0 in activiti engine.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-a-way-to-make-retry-0-in-activiti-engine/m-p/160337#M114313</link>
      <description>Hi,Is there any configuration by which I can set retry of activiti engine for a task to zero (actually I don't need activiti to retry for job that has failed since I don't want to process failed tasks).Currently I am manually getting the job with jobId and making the retry to zero in case of any Exc</description>
      <pubDate>Mon, 28 Apr 2014 10:12:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-a-way-to-make-retry-0-in-activiti-engine/m-p/160337#M114313</guid>
      <dc:creator>mahesh_yadav</dc:creator>
      <dc:date>2014-04-28T10:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make retry 0 in activiti engine.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-a-way-to-make-retry-0-in-activiti-engine/m-p/160338#M114314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mahesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;following thread could help you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/job-retry-defaults" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/job-retry-defaults&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1046" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1046&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 06:48:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-a-way-to-make-retry-0-in-activiti-engine/m-p/160338#M114314</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-04-29T06:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to make retry 0 in activiti engine.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-a-way-to-make-retry-0-in-activiti-engine/m-p/160339#M114315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the same failedJobCommandFactory to make retry to 0 after exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And in one of link above the code changes has been done to activiti code which I don't want. If 'failedJobCommandFactory' is only solution I will continue to use it. Wanted to know if there is out of box configuration or hook mechanism by which we can set retry to as 0 to global so that I dont have to write failedJobCommandFactory implementation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometime if activiti-engine is terminated in mid of workflow execution failed job command factory will not be called and when activiti is started it will again start retrying ( I even dont want retry in that case as well) &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;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mahesh.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 07:59:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-a-way-to-make-retry-0-in-activiti-engine/m-p/160339#M114315</guid>
      <dc:creator>mahesh_yadav</dc:creator>
      <dc:date>2014-04-29T07:59:58Z</dc:date>
    </item>
  </channel>
</rss>

