Page History
...
- The History outcome is not determined as the order remains in the workflow. The History outcome will be determined from later User Intervention.
- Notifications can optionally be sent.
- User Interventions include the following operations:
- Resume Order: The order will be continued at the same, at a previous or at a later workflow instruction.
- Child orders in Fork-Join and ForkList-Join instructions can be resumed within their branch.
- Suspend Order: The order will be suspended and will be resumed or cancelled later on.
- Cancel Order: The order will be cancelled and the History outcome will indicate the failed outcome of order execution.
- Child orders in Fork-Join and ForkList-Join instructions leave their branch with a failed outcome that is adopted by the parent order.
- Resume Order: The order will be continued at the same, at a previous or at a later workflow instruction.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
job1 job2 job3 |
...
- if any of
job1
orjob2
in the Try block raises an error then the empty Catch block lets will let the order continue. - Leaving the Catch block the order will continue with
job3
.
...
Jira | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
For earlier JS7 releases users have to add a dummy job has to be added to the Catch block to specify force a successful outcome for the order.
...
- if any of
job1
orjob2
in the Try block raises an error then the order will enter the Catch block. - In the Catch block
job2a
is executed.- If
job2a
completes successfully then the order will leave the Catch block and will continue withjob3
. - If
job2a
fails then the order will be put in the failed state, will be stopped and will remain in the Catch block to wait for User Intervention. - Consider that Try-Catch instructions can be nested, i.e. in a Catch block another Try-Catch instruction can be used for error handling.
- If
...
For earlier JS7 releases users have to add a dummy job before the Finish instruction that guarantees successful execution in order to specify force a successful History outcome.
...
In this scenario job errors are considered being warnings based on a selection of job return codes. Such warnings do not require specific error handling, instead the order will continue in the workflow.
...
- JS7 - How to detect job errors and warnings
- JS7 - How to handle job errors
- JS7 - How to handle job warnings
Overview
Content Tools