<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.ecxmsonormal, li.ecxmsonormal, div.ecxmsonormal
        {mso-style-name:ecxmsonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ecxmsohyperlink
        {mso-style-name:ecxmsohyperlink;}
span.ecxmsohyperlinkfollowed
        {mso-style-name:ecxmsohyperlinkfollowed;}
span.ecxemailstyle18
        {mso-style-name:ecxemailstyle18;}
p.ecxmsonormal1, li.ecxmsonormal1, div.ecxmsonormal1
        {mso-style-name:ecxmsonormal1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.ecxmsohyperlink1
        {mso-style-name:ecxmsohyperlink1;
        color:blue;
        text-decoration:underline;}
span.ecxmsohyperlinkfollowed1
        {mso-style-name:ecxmsohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
span.ecxemailstyle181
        {mso-style-name:ecxemailstyle181;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle27
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=HU link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Ed,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>For each line item I have a role, that means I have all the
responsible person to carry out the decission. Of course, I have the custom
object also, because I need several information depending on the settlement
type. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>But I&#8217;m not able to create the paralell processes, and I
would like to avoind event creation in a background method (if it&#8217;s
possible) for each settlement.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Br<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Zs<o:p></o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Edward Diehl<br>
<b>Sent:</b> Tuesday, October 26, 2010 4:29 PM<br>
<b>To:</b> sap-wug@mit.edu<br>
<b>Subject:</b> RE: Dynamic branches on a fork<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>Hi Zolt,<br>
If you want the process to be simultaneous and not sequential then a list of
the settlement objects should be used to drive the dynamic parallel
process.&nbsp; I use the term object because that is how I would treat each
item that is part of the outboarding process.&nbsp; I would create a custom
object and each item to be settled would be an instance of that object.&nbsp;
You could then put enough information in the object's attributes to determine
who the approver should be for that particular object.&nbsp; Since you already
have the custom table, creating a custom object over it would quite easy.&nbsp;
I don't know all that is in your customer table, but could you add approver
information for each item?<br>
<br>
Ed<br>
<br>
BTW, if the process can be or needs to be sequential then just put the list of
objects in a loop.&nbsp; Sometimes one thing cannot be approved until something
else has been approved.<br>
<br>
<br>
<o:p></o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=2 width="100%" align=center id=stopSpelling>

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>Subject: RE: Dynamic branches on a fork<br>
Date: Tue, 26 Oct 2010 16:09:46 +0200<br>
From: Marton.Zsolt@iqsys.hu<br>
To: sap-wug@mit.edu<br>
CC: sap-wug-bounces@mit.edu<o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi, Thanks</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>We have the custom table, but users requirement is to handle all
the approvements in one process. </span><span style='font-size:11.0pt;
font-family:Wingdings;color:#1F497D'>L</span><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks anyway.</span><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Comic Sans MS";color:gray'>Márton Zsolt</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>Krishna K Kammaje<br>
<b>Sent:</b> Tuesday, October 26, 2010 3:57 PM<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Cc:</b> SAP Workflow Users' Group; sap-wug-bounces@mit.edu<br>
<b>Subject:</b> RE: Dynamic branches on a fork</span><span style='font-size:
10.0pt;font-family:"Tahoma","sans-serif"'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hi
Zolt,</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <br>
<br>
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>We had a
similar requirement, and this is what we did.</span><span style='font-size:
10.0pt;font-family:"Tahoma","sans-serif"'> <br>
<br>
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>All the
different processes were maintained in a custom table. </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>An ABAP
batch job was created which will run daily once and trigger different work
items for each suitable process. Business logic was contained in this program.</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <br>
<br>
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks<br>
Krishna Kishor Kammaje <br>
SAP Certified Development Associate - ABAP with Netweaver 7.0<br>
| HRMS LCM Team | Manyata | D3 | 9th Floor | MD3-9F-A113 | Mob: +91 990 100
0799 | Direct - Xtn: 080 280-62953 |<br>
</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>
<br>
<br>
<br>
</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:#5F5F5F'>From: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:
7.5pt;font-family:"Arial","sans-serif"'>Márton Zsolt &lt;Marton.Zsolt@iqsys.hu&gt;</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <br>
</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:#5F5F5F'>To: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:
7.5pt;font-family:"Arial","sans-serif"'>&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
<br>
</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:#5F5F5F'>Date: &nbsp; &nbsp; &nbsp; &nbsp;</span><span style='font-size:
7.5pt;font-family:"Arial","sans-serif"'>26/10/2010 19:21</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <br>
</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:#5F5F5F'>Subject: &nbsp; &nbsp; &nbsp; &nbsp;</span><span
style='font-size:7.5pt;font-family:"Arial","sans-serif"'>RE: Dynamic branches
on a fork</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
<br>
</span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:#5F5F5F'>Sent by: &nbsp; &nbsp; &nbsp; &nbsp;</span><span
style='font-size:7.5pt;font-family:"Arial","sans-serif"'>sap-wug-bounces@mit.edu</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=2 width="100%" noshade style='color:#ACA899' align=center>

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><br>
<br>
<br>
</span><tt><span style='font-size:10.0pt'>Hi Koenraad,</span></tt><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt>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. </tt><br>
<tt>You say to start the parallel processes with events. But how can I
determine dynamically the events? </tt><br>
<tt>My tought was to create a task with parallel processing controlled by a
multiline element (number of items)</tt><br>
<br>
<tt>But any idea is welcome. :)</tt><br>
<tt>Br</tt><br>
<tt>Zsolt</tt><br>
<br>
<tt>-----Original Message-----</tt><br>
<tt>From: sap-wug-bounces@mit.edu [</tt></span><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><a href="mailto:sap-wug-bounces@mit.edu"><tt>mailto:sap-wug-bounces@mit.edu</tt></a></span><tt><span
style='font-size:10.0pt'>] On Behalf Of JANSSENS Koenraad</span></tt><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt>Sent: Tuesday, October 26, 2010 3:25 PM</tt><br>
<tt>To: SAP Workflow Users' Group</tt><br>
<tt>Subject: RE: Dynamic branches on a fork</tt><br>
<br>
<tt>Zsolt,</tt><br>
<br>
<tt>Why don't you use events to start various instances of a settlement item
wf?</tt><br>
<br>
<tt>Regards</tt><br>
<br>
<tt>Koenraad</tt><br>
<br>
<tt>&gt;-----Original Message-----</tt><br>
<tt>&gt;From: sap-wug-bounces@mit.edu [</tt></span><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><a href="mailto:sap-wug-bounces@mit.edu"><tt>mailto:sap-wug-bounces@mit.edu</tt></a></span><tt><span
style='font-size:10.0pt'>] On Behalf Of Márton Zsolt</span></tt><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt>&gt;Sent: Tuesday, October 26, 2010 3:10 PM</tt><br>
<tt>&gt;To: SAP Workflow Users' Group</tt><br>
<tt>&gt;Subject: Dynamic branches on a fork</tt><br>
<tt>&gt;</tt><br>
<tt>&gt;Hi All!</tt><br>
<tt>&gt;</tt><br>
<tt>&gt;I have to implement a workflow werkoer settlements when they are
leaving the company. For this we have created an</tt><br>
<tt>&gt;settlement document with header and &nbsp;itmes, where the number of
items can be changed dependig on what kind of</tt><br>
<tt>&gt;settlement process must be carried out (for exemple: give back the
company's assets, entrance card, etc.) Each</tt><br>
<tt>&gt;settlement item must be approved by different person and for this I
need parallel processing.</tt><br>
<tt>&gt;My problem is: need to have parallel processes but will not know the
number of branches until the workflow is run. The</tt><br>
<tt>&gt;number of branches will vary from instance to instance, depending from
the number of items.</tt><br>
<tt>&gt;Does anyone know of a way to have dynamic branches on a fork?</tt><br>
<tt>&gt;</tt><br>
<tt>&gt;Thanks in advance,</tt><br>
<tt>&gt;Br</tt><br>
<tt>&gt;Zsolt</tt><br>
<tt>&gt;</tt><br>
<tt>&gt;_______________________________________________</tt><br>
<tt>&gt;SAP-WUG mailing list</tt><br>
<tt>&gt;SAP-WUG@mit.edu</tt><br>
<tt>&gt;</tt></span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><a
href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><tt>http://mailman.mit.edu/mailman/listinfo/sap-wug</tt></a></span><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>SAP-WUG mailing list</tt><br>
<tt>SAP-WUG@mit.edu</tt><br>
</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><a
href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><tt>http://mailman.mit.edu/mailman/listinfo/sap-wug</tt></a></span><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>SAP-WUG mailing list</tt><br>
<tt>SAP-WUG@mit.edu</tt><br>
</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><a
href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><tt>http://mailman.mit.edu/mailman/listinfo/sap-wug</tt></a><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>
_______________________________________________ SAP-WUG mailing list
SAP-WUG@mit.edu http://mailman.mit.edu/mailman/listinfo/sap-wug <o:p></o:p></span></p>

</div>

</body>

</html>