Details
-
Fix
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
If I have a job chain node with on_error="setback" and a delay, then the setback runs endless (when the setback reached its maximum, then it starts from the beginning).
Example:
<job_chain orders_recoverable="yes" visible="yes">
<job_chain_node state="start"
job="error_job"
next_state="SUCCESS"
error_state="ERROR"
on_error="setback"
delay="3"/>
<job_chain_node state="SUCCESS"/>
<job_chain_node state="ERROR"/>
</job_chain>
Job 'error_job':
<job order="yes" stop_on_error="no">
<script language="shell">
<![CDATA[
echo Job throws error
exit 1
]]>
</script>
<delay_order_after_setback setback_count="1"
is_maximum="no"
delay="05"/>
<delay_order_after_setback setback_count="4"
is_maximum="yes"
delay="0"/>
<run_time/>
</job>