Q

Getting two workflows to pass the torch automatically

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.

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

Dig deeper on SAP workflow development

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close