The ADSActionType enumeration encapsulates the actions to take based on a job's outcome.
Enumeration |
Value |
Description |
ADS_ACTION_NONE |
0 |
No action is taken. |
ADS_DISABLE_JOB |
1 |
The job is disabled. |
ADS_DELETE_JOB |
2 |
The job is deleted. |
ADS_SEND_NOTIFICATION |
3 |
A notification message is sent. If mail recipients have been specified for the job, notification is sent to those recipients. Otherwise, the default recipients for the Scheduler are used. (Default recipients are defined using the Configuration Editor.) |
ADS_RUN_JOB |
10 |
Another job is run. |
ADS_SEND_NOTIFICATION is introduced in version 2.3 of the Scheduler and replaces the values ADS_SEND_MAIL (3) and ADS_SEND_BROADCAST (4), as the Scheduler now allows the recipients specified for a job to be of mixed type (e-mail and network broadcast recipients).
The old values are retained for compatibility; if you specify ADS_SEND_BROADCAST it will be converted automatically to ADS_SEND_NOTIFICATION.