<div dir="ltr">At least for 4.4.3 it doesn't work this way. My task includes<br><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"JetBrains Mono",monospace;font-size:9.8pt"><span style="color:rgb(232,191,106)"><controlFlow><br></span><span style="color:rgb(232,191,106)"> <errorHandling><br></span><span style="color:rgb(232,191,106)"> <entry><br></span><span style="color:rgb(232,191,106)"> <situation><br></span><span style="color:rgb(232,191,106)"> <errorCategory></span>configuration<span style="color:rgb(232,191,106)"></errorCategory><br></span><span style="color:rgb(232,191,106)"> <status></span>fatal_error<span style="color:rgb(232,191,106)"></status><br></span><span style="color:rgb(232,191,106)"> </situation><br></span><span style="color:rgb(232,191,106)"> <reaction><br></span><span style="color:rgb(232,191,106)"> <retryLater><br></span><span style="color:rgb(232,191,106)"> <initialInterval></span>PT1M<span style="color:rgb(232,191,106)"></initialInterval><br></span><span style="color:rgb(232,191,106)"> <nextInterval></span>PT1M<span style="color:rgb(232,191,106)"></nextInterval><br></span><span style="color:rgb(232,191,106)"> <retryLimit></span>3<span style="color:rgb(232,191,106)"></retryLimit><br></span><span style="color:rgb(232,191,106)"> </retryLater><br></span><span style="color:rgb(232,191,106)"> </reaction><br></span><span style="color:rgb(232,191,106)"> </entry><br></span><span style="color:rgb(232,191,106)"> </errorHandling><br></span><span style="color:rgb(232,191,106)"></controlFlow><br></span></pre><div>But the task becomes suspended right after the first error. Status of the task becomes "Fatal Error"</div><div>I have set enableExperimentalCode to true. </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 12 Jan 2023 at 10:24, Ivan Noris via midPoint <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Yakov,<br>
<br>
have you tried <br>
<a href="https://docs.evolveum.com/midpoint/reference/tasks/task-error-handling/#triggers-2" rel="noreferrer" target="_blank">https://docs.evolveum.com/midpoint/reference/tasks/task-error-handling/#triggers-2</a> <br>
example? Perhaps you are missing the errorCategory.<br>
<br>
Please see also the whole documentation page.<br>
<br>
As the feature is marked Experimental, you may have also hit some of its <br>
limits. I remember it worked according to the samples for Live sync task <br>
for sure.<br>
<br>
Best regards,<br>
<br>
Ivan<br>
<br>
On 11. 1. 2023 18:06, Yakov Revyakin via midPoint wrote:<br>
> Hi all,<br>
> It is not clear how to configure retry for a task.<br>
> I have a task which got fatal_error because of an incorrect accessKey <br>
> for an external resource. The task is suspended after the error.<br>
> I'd like to have another behavior - task must retry attempt to execute <br>
> after a minute.<br>
> I configured errorHandling in the activity section but still have the <br>
> same result - the task is suspended after an error and there is any <br>
> retry. What's wrong?<br>
><br>
> <activity><br>
> .......<br>
> <controlFlow><br>
> <errorHandling><br>
> <entry><br>
> <reaction><br>
> <retryLater><br>
> <initialInterval>PT1M</initialInterval><br>
> <nextInterval>PT3M</nextInterval><br>
> <retryLimit>3</retryLimit><br>
> </retryLater><br>
> </reaction><br>
> </entry><br>
> </errorHandling><br>
> </controlFlow><br>
> </activity><br>
><br>
> _______________________________________________<br>
> midPoint mailing list<br>
> <a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
> <a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
<br>
-- <br>
Ivan Noris<br>
Expert Identity Engineer<br>
<a href="http://evolveum.com" rel="noreferrer" target="_blank">evolveum.com</a><br>
<br>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div>