Example - Detect Initial Events and Act on Them
Run the IBM® Cognos® Event Studio ELM Returns Agent to detect the initial instances of products returned for specific reasons.
When these events are detected, the ELM Returns Agent does the following:
- It runs the AssignStaff stored procedure.
AssignStaff provides details about the sales representatives associated with each event instance, including the e-mail address.
- It sends an e-mail to the appropriate sales representatives, advising them to contact their customer.
- It runs the ELM Escalation Agent.
The ELM Escalation Agent checks for returned product events flagged by the ELM Returns Agent. If one of these events still exists after two days, the ELM Escalation Agent sends an e-mail to the customer fulfilment manager.
Procedure
- In IBM Cognos Analytics, click .
- Click the run with options button
on the actions toolbar next
to the ELM Returns Agent sample. - Under Time, click Now.
- Under Prompt values, clear the Prompt for values check box.
- Click Run.
- Click OK.
Results
The task execution rules for the ELM Returns Agent sample specify that all tasks are performed for new events only. If you do not receive any e-mails, the agent may already have run, so that none of the detected events are new. You can reset the event list so that when the agent runs next, all detected events have a status of new.
Tip: From the Actions menu, click Reset Event List.