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 case of job failure.
  • A job can be added to a JS7 - Retry Instruction block to retry execution of one or more jobs in case that a specific job fails.
  • 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 or 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 that 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.

How to create references of the same job in a workflow

The references of the same job in a workflow means that using the same job in the workflow multiple times. For example, if the same job needs to be executed in a workflow two times then it can be referenced twice in a 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 be resued using multiple label names and the label name is unique across the workflow.

...