<div dir="ltr">I don't know if it's required or what happens by default if it's left out, but you might need a <situation> element in there:<div><entry></div><div> <situation></div><div> <status>fatal_error</status></div><div> </situation></div><div>...<br></entry></div><div><br></div><div>At least, that's what I have on one of my 4.4 server tasks, and it seems to perform as expected. </div><div>Disclaimer: I just started playing with the new activity-based error handling yesterday, so I'm far from an expert.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>-- </div><div>Paul Engle</div><div>IAM Architect</div><div>Identity & Access Management</div><div><a href="mailto:pengle@rice.edu" target="_blank">pengle@rice.edu</a> 713-348-4702</div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 11, 2023 at 11:07 AM Yakov Revyakin 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"><div dir="ltr">Hi all,<br><div>It is not clear how to configure retry for a task.</div><div>I have a task which got fatal_error because of an incorrect accessKey for an external resource. The task is suspended after the error.</div><div>I'd like to have another behavior - task must retry attempt to execute after a minute.</div><div>I configured errorHandling in the activity section but still have the same result - the task is suspended after an error and there is any retry. What's wrong? </div><div><br></div><div> <activity><br></div><div> .......</div><div> <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></div></div>
_______________________________________________<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>