<?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 Retry doesn't seem to work after encountering ActivitiException. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/retry-doesn-t-seem-to-work-after-encountering-activitiexception/m-p/27965#M11973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using activiti engine 5.16.1. Activiti workflow is being used in multi-threading environment where different threads are using activiti engine to execute the jobs. I have encountered multiple ActivitiException (due to deadlock issue on sql server) followed by execution of JobRetryCmd, then JobRetryCmd gets an error with following message –&lt;/P&gt;&lt;P&gt;“activitiy or FailedJobRetryTimerCycleValue is null in job 497e9e97-39fb-11e9-b7aa-00505693434e'. only decrementing retries.”&lt;/P&gt;&lt;P&gt;As per logs, it seems no retry is made and the calling method fails with ActivitiException. I have following queries now–&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Is it a bug that the value of FailedJobRetryTimerCycleValue is 0 and retries is not attempted in case of encountering ActivitiException?&lt;BR /&gt;2) If it is not a bug, can we write some custom optimization so that retry can start working if ActivitiException occurs? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2019 18:43:52 GMT</pubDate>
    <dc:creator>krish18</dc:creator>
    <dc:date>2019-03-12T18:43:52Z</dc:date>
    <item>
      <title>Retry doesn't seem to work after encountering ActivitiException.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retry-doesn-t-seem-to-work-after-encountering-activitiexception/m-p/27965#M11973</link>
      <description>I am using activiti engine 5.16.1. Activiti workflow is being used in multi-threading environment where different threads are using activiti engine to execute the jobs. I have encountered multiple ActivitiException (due to deadlock issue on sql server) followed by execution of JobRetryCmd, then JobR</description>
      <pubDate>Tue, 12 Mar 2019 18:43:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retry-doesn-t-seem-to-work-after-encountering-activitiexception/m-p/27965#M11973</guid>
      <dc:creator>krish18</dc:creator>
      <dc:date>2019-03-12T18:43:52Z</dc:date>
    </item>
  </channel>
</rss>

