Perform Actions Based on the Status of a Job

Problem

When a job is executed, you want certain actions to be performed automatically based on the status of the job.

Solution

You can use the Status Handling tab in the properties window for a job to specify one or more pairs of conditions and actions. These conditions and actions apply to the job as a whole.
Perform the following tasks:
Some actions require server setup, as described in Prerequisites for Actions.

Tasks

Specify Conditions and Actions for the Job

Perform the following steps to specify actions to be performed automatically based on the status of a job.
  1. Right-click the job in a tree view and select Properties from the menu.
  2. Click the Status Handling tab.
  3. Click New. A default condition and action are displayed in the first row of the table.
  4. To replace the default condition, use the selection arrow to select another condition, such as Error.
  5. To replace the default action, use the selection arrow to select another action, such as Send Email. If the action requires information from you, the Action Options window appears.
  6. Use the Action Options window to specify any values that are required by the action. For example, a Send Email action requires an email address.
  7. Select more conditions and actions, as desired.
  8. Click OK to close the properties window.

Run the Job and Verify the Status Handling Output

Perform the following steps to run the job and verify the status handling output.
  1. Right-click the job in a tree view and select Open from the menu. The job opens in the Job Editor.
  2. Click Run.
  3. If any of the conditions that you specified are met, then the actions that you specified should be performed.
Last updated: January 16, 2018