When running scheduled jobs from WhereScape RED, it's possible to configure a job to run commands when the job finishes successfully or when it fails. These commands can be set to send email notifications or create a log file about failure or success status.
Success and Failure commands can use variables and tokens; this allows them to use host scripts stored on the metadata repository instead of setting up scripts for each existing scheduler.
This commands only trigger when jobs are launched from WhereScape RED. |

Success commands run when a job is a marked as successful on the final stage of execution and the Success Command filed is populated.
Failure commands run when a task thread marks a job as failed and the Failure Command field is populated. This command will only run once even if more than one thread fails.
If the Execute Failure Command in event of dependency failure option is enabled, commands will run a parent job dependency fails.