<?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: Handling different retry parameters in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230197#M183327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;After that you can hook into process parsing (see doc) to be able to use extension elements from the model during the execution.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Im able to implements a new Parser (extending ServiceTaskParseHandler). I can see the retry values in "ServiceTask.fieldExtensions" then dont know what to do from there…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 13:02:14 GMT</pubDate>
    <dc:creator>spartan</dc:creator>
    <dc:date>2016-05-20T13:02:14Z</dc:date>
    <item>
      <title>Handling different retry parameters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230195#M183325</link>
      <description>Hello,I have to implement my process taking into account that some services can be retried (example : timeout while calling web services). The maximum number of retries and the delay can be different from a service to another one.One designer suggested that we design this using the modeler and addin</description>
      <pubDate>Thu, 19 May 2016 17:01:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230195#M183325</guid>
      <dc:creator>spartan</dc:creator>
      <dc:date>2016-05-19T17:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Handling different retry parameters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230196#M183326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;1) Whats do you think about that ? Better to design it on the diagram or rather handle/hide on in the java side ?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I do not know all requirements, but I would vote for now adding additional complexity to process model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;2) How to actually use the retry mechanism provided by Activiti ? By default, there are 3 retries hardcoded.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;See job executor configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How to make a diffrent number of retries for each of my services ?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;In that case you have to add it to the model (I would say as an extensionElement (see examples in the activiti source)). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After that you can hook into process parsing (see doc) to be able to use extension elements from the model during the execution.&lt;/SPAN&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>Fri, 20 May 2016 06:59:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230196#M183326</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-20T06:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Handling different retry parameters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230197#M183327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;After that you can hook into process parsing (see doc) to be able to use extension elements from the model during the execution.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Im able to implements a new Parser (extending ServiceTaskParseHandler). I can see the retry values in "ServiceTask.fieldExtensions" then dont know what to do from there…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 13:02:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230197#M183327</guid>
      <dc:creator>spartan</dc:creator>
      <dc:date>2016-05-20T13:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Handling different retry parameters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230198#M183328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would say that the easiest way how to achieve is to change the behaviour where async tasks are executed. On this place new job is created &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and retries are taken from the default values. Instead of default values you can replace them with the values from extension element.&lt;/SPAN&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>Mon, 23 May 2016 06:52:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230198#M183328</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-23T06:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Handling different retry parameters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230199#M183329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I would say that the easiest way how to achieve is to change the behaviour where async tasks are executed&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;That's what I ended implementing. For the record : it's about writing custom implementation of DefaultFailedJobCommandFactory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then after taking a new look, I realized that I could simply set the "failedJobRetryTimeCycleValue" property from a custom parse handler with no need to modify any async task behaviour. That custom handler has been set to the "customDefaultBpmnParseHandlers" conf property. Not sure if "postBpmnParseHandlers" would have been better a better choise. Do you know the purpose of the later ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 16:39:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230199#M183329</guid>
      <dc:creator>spartan</dc:creator>
      <dc:date>2016-05-23T16:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Handling different retry parameters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230200#M183330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;no … historical reasons most likely…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 09:58:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/handling-different-retry-parameters/m-p/230200#M183330</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-05-31T09:58:23Z</dc:date>
    </item>
  </channel>
</rss>

