Restarting while loops

In the case of steps of type While Loop, the step is restarted at the iteration where the step failed, based on the value of the BF_ITERATION system variable. Example job flow:
  1. Job enters step of type While Loop
  2. Condition evaluates to true
  3. BF_ITERATION is set to 1
  4. The Command and Inline are run successfully
  5. The step loops
  6. Condition evaluates to true
  7. BF_ITERATION is set to 2
  8. The job is stopped during execution of the Command or Inline

If the job above is restarted, it restarts at Iteration 2. It attempts to run the Command and Inline for the step.


Feedback