<?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: Skip execution of async service task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/skip-execution-of-async-service-task/m-p/174810#M127940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that is possible. See my comment here: &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/content/how-customize-retries-count-actrujob-table" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/how-customize-retries-count-actrujob-table&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;property of the process engine configuration), to return a modified version of the DecrementJobRetriesCmd. You could set the job-retries to zero instead of the current "job.getRetries() - 1" value.&lt;BR /&gt;&lt;BR /&gt;This will work for all jobs that fail. Offcourse, you can manually set the retry count to 0 for all jobs in your code, however, this requires you to call code fore every timer/job created.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 09:26:21 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2014-03-10T09:26:21Z</dc:date>
    <item>
      <title>Skip execution of async service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/skip-execution-of-async-service-task/m-p/174809#M127939</link>
      <description>Hello, I customized the FailedJobCommandFactory to make the job executor not try to execute an async service task when it fails. This is because the multiple execution of the service task can have undesirable consequences, for instance, calling twice an external service.Then I query the jobs using t</description>
      <pubDate>Fri, 07 Mar 2014 18:51:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/skip-execution-of-async-service-task/m-p/174809#M127939</guid>
      <dc:creator>mrosenfeld</dc:creator>
      <dc:date>2014-03-07T18:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Skip execution of async service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/skip-execution-of-async-service-task/m-p/174810#M127940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that is possible. See my comment here: &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/content/how-customize-retries-count-actrujob-table" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/how-customize-retries-count-actrujob-table&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;property of the process engine configuration), to return a modified version of the DecrementJobRetriesCmd. You could set the job-retries to zero instead of the current "job.getRetries() - 1" value.&lt;BR /&gt;&lt;BR /&gt;This will work for all jobs that fail. Offcourse, you can manually set the retry count to 0 for all jobs in your code, however, this requires you to call code fore every timer/job created.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 09:26:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/skip-execution-of-async-service-task/m-p/174810#M127940</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-03-10T09:26:21Z</dc:date>
    </item>
  </channel>
</rss>

