Management SmartTasks let you configure automatic actions according to different triggers in the system. A SmartTask is a combination of trigger and action.
Triggers are events – currently defined in terms of existing management operations, such as install policy or publish
Actions are automatic responses that take place after a trigger is fired, such as running a script, posting a web request or sending email.
Available Triggers
Before Publish - Fired when an administrator publishes a session. The SmartTask passes the sessions meta-data (publishing administrator, domain information and session name) to the action. If the local Management API server is available, the session changes about to be published are formatted as a response to the "show changes" API.
After Publish - Fired after an administrator successfully publishes a session. The SmartTask passes the same information to the action as the Before Publish trigger.
After Install Policy - Fired after a policy has been installed. The SmartTask passes to the action information related to the policy installation task, such as the package installed, the administrator who initiated the installation and the task's result.
Enter a unique name for the SmartTask - The name property is required and case sensitive.
Switch the SmartTaskON or OFF using the toggle button.
Optional - enter a description for the SmartTask.
Select a trigger for the SmartTask.
Select an action that will happen once the trigger is fired.
Custom Data – You can add additional information to the JSON data sent with the trigger information by adding a JSON object to the Custom Data field. The JSON custom data is concatenated to the trigger's payload and passed to the action.