Versions Compared

Key

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

...

Detect Errors from Job Return Codes

Download workflow example (upload .json): pdwExitCodeError.workflow.json

Assume a workflow configuration with a job script that terminates with a non-zero exit code like this:

  • Return Code on Success: Return code 0 is specified to signal successful execution of the job. Any other exit code signals failed execution. More than one exit code can be specified like this - separated by a comma.
  • Return Code on Failure: Alternatively one or more exit codes can be specified to signal failed execution. Any other exit code signals successful execution.

Image Added


When an order is added to the workflow the job will fail and log output is created similar like this:

Image Added

Detect Errors from Output to the stderr Channel

...

Assume a workflow configuration with a job script that creates output to in the stderr channel like this:

...

The "Job Options" tab offers to select the Fail on output to stderr checkbox like this:


When an order is added to the workflow the job will fail and log output is created similar like this:

Image Added

Detect Job Warnings

Detect Warnings from Job Return Codes

Download workflow example (upload .json): pdwExitCode.workflow.json

Assume a workflow configuration with a job script that terminates with a non-zero exit code like this:

  • Return Code on Success: Return code 0 is specified to signal successful execution of the job. Any other exit code signals failed execution. More than one exit code can be specified like this - separated by a comma.
  • Alternatively one or more exit codes can be specified to signal failed execution. Any other exit code signals successful execution.

Image Added

Feature Status:

Display feature availability
StartingFromRelease2.4.1

...