Trigger Multiple workflows dynamically
Sheldon Oxenberg
soxenber at csc.com
Tue May 25 12:06:20 EDT 2010
Hi Mamtha,
You could have a loop in your application code which loops through the
table of company codes and in each loop executes the same SWE_EVENT_CREATE
for the same workflow template, but passes the different workitem text in
the event container to be used in that workflow instance.
Regards.
SHELDON OXENBERG
System Architect Principal Leader
LMP Technical Architect, SAP Workflow
CSC
From: Joe_Toledo at capgroup.com
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Date: 05/25/2010 11:55 AM
Subject: Re: Trigger Multiple workflows dynamically
Hi there Mamtha,
Look at "Dynamic Parallel Processing" found in the "Miscellaneous" tab of a
task definition within the workflow build.
An approach would be trigger a "main" workflow that would invoke as many
sub-workflows as there are entries in a "multi-line" container (i.e. the
table that contains the company codes.)
I hope this helps
Regards,
Joe Toledo | The Capital Group
Companies
Location: IRV | Extension: 55417 |
Outside: 949-975-5417
E-mail: joat at capgroup.com
[ Mailing: 15260 Valley Oak. IRV-M-3E
Irvine, CA 92618 USA ]
From: Mamtha Bhanam <mamthasap at gmail.com>
To: sap-wug at mit.edu
Date: 05/25/2010 08:40 AM
Subject: Trigger Multiple workflows dynamically
Sent by: sap-wug-bounces at mit.edu
Hi Experts,
I have a requirement wherein I have to trigger multiple Workflows based on
company code.If the table contains 5 company codes I need to trigger 5
different workflows with the same steps and agents only workitem text
differs. Initially I thought option Fork will work,but the no of company
codes send to the WF template is dynamic.Any suggestions
appreciated???Thanks in advance..
With Regards,
Mamtha
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
More information about the SAP-WUG
mailing list