<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Configure SystemTaskFailureBehaviour for system-wide or application-wide</title><link>https://answers.axonivy.com/questions/1715/configure-systemtaskfailurebehaviour-for-system-wide-or-application-wide</link><description>&lt;p&gt;Hi Ivy team&lt;/p&gt;
&lt;p&gt;According to the public javadoc of &lt;a href="http://developer.axonivy.com/doc/latest/publicApi/ch/ivyteam/ivy/workflow/SystemTaskFailureBehaviour.html"&gt;SystemTaskFailureBehaviour&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The following example shows how to set the behaviour:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;pre&gt;&lt;code&gt;ivy.response.setParameter("ch.ivyteam.ivy.workflow.SystemTaskFailureBehaviour", SystemTaskFailureBehaviour.FAIL_TASK_DO_NOT_RETRY);
If the behaviour is not set in the system task process the default behaviour is SystemTaskFailureBehaviour.FAIL_TASK_DO_RETRY.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;However, the snippet above only applies for a particular process by setting parameters of the &lt;code&gt;ivy.response&lt;/code&gt;. &lt;/p&gt;
&lt;p&gt;Is there anyway that  I can set &lt;code&gt;SystemTaskFailureBehaviour.FAIL_TASK_DO_NOT_RETRY&lt;/code&gt; as default per application (or system)?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1715/configure-systemtaskfailurebehaviour-for-system-wide-or-application-wide" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 20 Jun 2017 09:29:42 -0400</lastBuildDate><item><title>Answer by peter_muc</title><link>https://answers.axonivy.com/questions/1715/configure-systemtaskfailurebehaviour-for-system-wide-or-application-wide/2710</link><description>&lt;p&gt;According to the java docu above, if a system task fails, the system retries to execute the task after a defined period (if FAIL_TASK_DO_RETRY is set).&lt;/p&gt;
&lt;p&gt;Can you tell me please, which default values Axon.ivy uses for a) number of retries b) waiting time between retries.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">peter_muc</dc:creator><pubDate>Tue, 20 Jun 2017 09:29:42 -0400</pubDate><guid>https://answers.axonivy.com/questions/1715/configure-systemtaskfailurebehaviour-for-system-wide-or-application-wide/2710</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/1715/configure-systemtaskfailurebehaviour-for-system-wide-or-application-wide/1716</link><description>&lt;p&gt;Currently (with6.1 or older) it's not possible. The default behaviour is hardcoded to &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ch.ivyteam.ivy.workflow.SystemTaskFailureBehaviour.FAIL_TASK_DO_RETRY
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;br&gt;
With 6.2 we introduced a new System Property so that the default behaviour can be changed system wide. See the property 'SystemTask.Failure.Behaviour' in the AdminUI. First release that contains this property is the Sprint 7 release of Jakobshorn.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 04 Apr 2016 09:07:15 -0400</pubDate><guid>https://answers.axonivy.com/questions/1715/configure-systemtaskfailurebehaviour-for-system-wide-or-application-wide/1716</guid></item></channel></rss>