I have a task in the inbox of a user which is a result of a Workflow. I want another Workflow to automatically terminate the task in the user's inbox and create a new task of its own. How can this be achieved?
If we assume that Workflow A is the one that put the task in the User's Inbox and that Workflow B is the Workflow that wants to remove the task from A and put its own in.
Create a 'Wait For Event' step in Workflow A in parallel with the task that goes to the User's Inbox. At the appropriate point get Workflow B to raise the event (use Event Creator step). Once the event is received by Workflow A it can the terminate itself (you can do this by using a Process Control step). This will remove the item from the User's inbox. After WF B raises the event, it can then send an item to the User's Inbox.
This was first published in May 2002