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.
Dig deeper on SAP workflow development
Related Q&A from Alon Raskin
An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other users.continue reading
Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients.continue reading
A SearchSAP.com reader wants to know how to hide the forward button in an SAP Business Workplace toolbar.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.