Page History
...
If the Options Instruction is in place and specifies the Stop on Failure attribute then failed orders will remain with the failing instruction, for example a job.
...
- the failed order remains with the failed job.
- the
pdErrorLockBig
andpdErrorLockSmall
Resource Locks remain blocked by respective Lock Instructions and are not freed before the order leaves the instruction block.
...
ConsumeNotices Instruction
Use
...
with StopOnFailure Option
This example introduces a situation when users find a nested JS7 - ConsumeNotices Instruction.
...
- the failed order moves to the outmost ConsumeNotices Instruction.
- the
Notice01
andNotice02
Notices are freed and remain available for parallel ConsumeNotices Instructions in other workflows.
Cycle Instruction
Use with StopOnFailure Option
This example introduces a situation when users find a JS7 - Cycle Instruction in a workflow.
Download (upload .json):
The example implements use of the Cycle Instruction with orders remaining at their workflow position in case of failure.
- the Options Instruction is used to set the StopOnFailure attribute.
- the
failed-job
job is assumed to fail with return code3
.
...
Use without StopOnFailure Option
This example introduces a situation when users find a nested JS7 - Cycle Instruction.
Download (upload .json):
The example implements use of a Cycle Instruction with orders moving to the begin of the Cycle Instruction in case of failure.
- no Options Instruction is used.
- the
failed-job
job is assumed to fail with return code3
.
...
At run-time in the Workflows view the workflow looks like this for a failed order:
...
When the order is resumed it will return to the begin of the Cycle Instruction:
Further Resources
- JS7 - Lock Instruction
- JS7 - ConsumeNotices InstructionJS7 - Cycle InstructionJS7 - Break Instruction