[midPoint] errorHandling controlFlow for tasks
Ivan Noris
ivan.noris at evolveum.com
Thu Jan 12 09:24:22 CET 2023
Hi Yakov,
have you tried
https://docs.evolveum.com/midpoint/reference/tasks/task-error-handling/#triggers-2
example? Perhaps you are missing the errorCategory.
Please see also the whole documentation page.
As the feature is marked Experimental, you may have also hit some of its
limits. I remember it worked according to the samples for Live sync task
for sure.
Best regards,
Ivan
On 11. 1. 2023 18:06, Yakov Revyakin via midPoint wrote:
> Hi all,
> It is not clear how to configure retry for a task.
> I have a task which got fatal_error because of an incorrect accessKey
> for an external resource. The task is suspended after the error.
> I'd like to have another behavior - task must retry attempt to execute
> after a minute.
> 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?
>
> <activity>
> .......
> <controlFlow>
> <errorHandling>
> <entry>
> <reaction>
> <retryLater>
> <initialInterval>PT1M</initialInterval>
> <nextInterval>PT3M</nextInterval>
> <retryLimit>3</retryLimit>
> </retryLater>
> </reaction>
> </entry>
> </errorHandling>
> </controlFlow>
> </activity>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
--
Ivan Noris
Expert Identity Engineer
evolveum.com
More information about the midPoint
mailing list