Task execution rules specify when a task is performed. By default, a task is performed for new instances of events and all ongoing instances of events, but you can change this.
For more information, see Example - Change the Task Execution Rules for a Report Task or Example - Change the Task Execution Rules for an Email Task.
You specify the task execution rules separately for each task in the agent.
Before you specify the task execution rules, you must
add one or more tasks .
In the I want to area, click Manage
the task execution rules .
On the Event Key tab, click one of the following:
Include only selected items, then on the
source tab , click one or more data items that uniquely
define an event and drag it to the box.
For example, click Order Number, because no two event instances can have the same order number.
The event key is defined for all tasks in the agent.
Click the Event Selection tab.
In the Task box, click the task that the agent will perform for the event statuses you specify.
Under Select when to perform each task page, click one of the following:
For selected events, and select one or more event status values.
When the agent or any of its tasks fail.
Click OK.
The execution rules for each task you selected are set.
Tip: If you want to reset the execution rules for every task in the agent to the default values, from the Actions menu, click Remove Task Execution Rules. Each task is reset to be performed for new instances of events and all ongoing instances of events.
Save the agent.