Page History
...
The JS7 - If Instruction applies different types of error handling depending on the return code reported by the failed job:
Explanation:
- Within the Retry Block the JS7 - If Instruction is used to check the return code value, This value is available from the built-in
$returnCode
variable. - The first If Instruction excludes by use of the
$returnCode != 0
predicate that any successful orders are excluded from the nested If Instruction. For details about predicates, see JS7 - Expressions for Variables. - The second If Instruction determines the error handling by use of the
$returnCode == 1
predicate which gives two options:- if the return code value is 1 then the left branch (true) of the If Instruction is used,
- for any other return code values the right branch (false) is used.
$returnCode
variable, see JS7 - Expressions for Variables- .
- Subsequently we find two occurrences of a JS7 - Fail Instruction.
...
Overview
Content Tools