Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A job can be added to a JS7 - Try-Catch Instruction block to execute follow-up jobs from a Catch block in the event of job failure.
  • A job can be added to a JS7 - Retry Instruction block to retry execution of one or more jobs in the event of a specific job failing.
  • A job can be added to a JS7 - If Instruction to check the job's return code or return values and to decide about further processing such as failing, finishing the underlying order or continuing with a different set of jobs in the workflow. This particularly applies in a situation when a job terminates with a non-zero return code which is not considered an error but e.g. an informational warning or in a situation when return codes are used to control workflow execution, e.g. indicating by specific return codes that successor jobs should be skipped. The If Instruction is the perfect means to handle this situation.

Find details from the JS7 - How To - Error Handling section.

How to create references

...

to the same job in a workflow

The references of to the same job in a workflow means using that job in a workflow multiple times. For example, if a job needs to be executed in a workflow twice, then it can be referenced twice in that workflow. Such an operation can be handled by creating different Labels on the job as the labels assign a name to the workflow node that is assigned the job. A job can then be reused using multiple label names and where each label name is unique across the workflow.

...