<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> </FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2> 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 (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> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>regards.</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </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>>-----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 Márton Zsolt<BR>>Sent: Tuesday, October 26, 2010 3:10 PM<BR>>To: SAP Workflow Users' Group<BR>>Subject: Dynamic branches on a fork<BR>><BR>>Hi All!<BR>><BR>>I have to implement a workflow werkoer settlements when they are leaving the company. For this we have created an<BR>>settlement document with header and itmes, where the number of items can be changed dependig on what kind of<BR>>settlement process must be carried out (for exemple: give back the company's assets, entrance card, etc.) Each<BR>>settlement item must be approved by different person and for this I need parallel processing.<BR>>My problem is: need to have parallel processes but will not know the number of branches until the workflow is run. The<BR>>number of branches will vary from instance to instance, depending from the number of items.<BR>>Does anyone know of a way to have dynamic branches on a fork?<BR>><BR>>Thanks in advance,<BR>>Br<BR>>Zsolt<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><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>