To use IBM Cognos product documentation, you must enable JavaScript in your browser.

Example - Change the Task Execution Rules for a Report Task

The status of each event instance is obtained by comparing the event instances of the current run of the agent to those of the previous run. You want to specify which event statuses will cause the agent to perform the report task.

You know that for the event condition you specified, the Product name, Retailer name, and Order method data items have duplicate values in two or more event instances. However, because the Order number data item has a different value for each event instance, you choose it as the event key.

You decide that the report task that you added previously should be performed for both:

Steps
  1. In the summary area, click new report.

  2. In the I want to area, click Manage the task execution rules.

  3. Click the Event Key tab.

  4. Click Include only selected items.

  5. On the source tab , expand Returned items (query) and Order.

  6. Under Order, click Order number, and drag it to the Event key box.

  7. Click the Event Selection tab.

  8. Under Select when to perform each task, select the New events and Ongoing events check boxes.

    This chooses the event status for which the report task is performed.

  9. Click OK.

  10. Save the agent.

The next step in the creating an agent tutorial is to add an email task.