Cognos 10 provides a powerful new feature to engage business users in controling BI workflow: MyInbox.
First I'm going to create an agent in event studio that checks for stores with low sales and then creates a human task in My Inbox with a report context that allows the designated user to select to notify a group of users or call a webservice.
Heres the agent in event studio. You can see the condition for sales quantity and the tasks to run if the condition is met.
For the human task definition in event studio make sure that the task owner action is set to specify which remaining tasks to run.
When I run the agent manually, you can see the tasks that will execute in sequence.
In reality scheduling the agent would be better.
Here is a view of the agent workflow state from cognos administration. we see the human task is waiting and blocking the workflow.
This is my inbox for the relevant user
The low store sales task is waiting for completion.
Lets view the human task details in my inbox. if we select to distribute the report and submit our task the agent carrys on to execute the selected task.
Lets view the agent workflow state again, the agent has succeeded