<HTML dir=ltr><HEAD><TITLE>RE: Dynamic branches on a fork</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.17080" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText72509 dir=ltr>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>Hi Zsolt , </FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>&nbsp;</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>&nbsp; You can loop over an internal-table (multi-line) variable and triggers an event each loop-pass ,then if the main workflow must wait until the others (subworkflows) are finished you can use event-wait steps in the main workflow&nbsp;(of course subworkflows must trigger the events that the wait-steps in the main are waiting for ). </FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana size=2>regards.</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana size=2>G.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De:</B> sap-wug-bounces@mit.edu en nombre de Márton Zsolt<BR><B>Enviado el:</B> mar 26/10/2010 15:45<BR><B>Para:</B> SAP Workflow Users' Group<BR><B>Asunto:</B> RE: Dynamic branches on a fork<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi Koenraad,<BR>Thanks for reply. The workflow is started wia event and I have several previous step before settlement. Those steps must be carried out within one workflow.<BR>You say to start the parallel processes with events. But how can I determine dynamically the events?<BR>My tought was to create a task with parallel processing controlled by a multiline element (number of items)<BR><BR>But any idea is welcome. :)<BR>Br<BR>Zsolt<BR><BR>-----Original Message-----<BR>From: sap-wug-bounces@mit.edu [<A href="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</A>] On Behalf Of JANSSENS Koenraad<BR>Sent: Tuesday, October 26, 2010 3:25 PM<BR>To: SAP Workflow Users' Group<BR>Subject: RE: Dynamic branches on a fork<BR><BR>Zsolt,<BR><BR>Why don't you use events to start various instances of a settlement item wf?<BR><BR>Regards<BR><BR>Koenraad<BR><BR>&gt;-----Original Message-----<BR>&gt;From: sap-wug-bounces@mit.edu [<A href="mailto:sap-wug-bounces@mit.edu">mailto:sap-wug-bounces@mit.edu</A>] On Behalf Of Márton Zsolt<BR>&gt;Sent: Tuesday, October 26, 2010 3:10 PM<BR>&gt;To: SAP Workflow Users' Group<BR>&gt;Subject: Dynamic branches on a fork<BR>&gt;<BR>&gt;Hi All!<BR>&gt;<BR>&gt;I have to implement a workflow werkoer settlements when they are leaving the company. For this we have created an<BR>&gt;settlement document with header and&nbsp; itmes, where the number of items can be changed dependig on what kind of<BR>&gt;settlement process must be carried out (for exemple: give back the company's assets, entrance card, etc.) Each<BR>&gt;settlement item must be approved by different person and for this I need parallel processing.<BR>&gt;My problem is: need to have parallel processes but will not know the number of branches until the workflow is run. The<BR>&gt;number of branches will vary from instance to instance, depending from the number of items.<BR>&gt;Does anyone know of a way to have dynamic branches on a fork?<BR>&gt;<BR>&gt;Thanks in advance,<BR>&gt;Br<BR>&gt;Zsolt<BR>&gt;<BR>&gt;_______________________________________________<BR>&gt;SAP-WUG mailing list<BR>&gt;SAP-WUG@mit.edu<BR>&gt;<A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR></FONT></P></DIV></BODY></HTML>