<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>David,</DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Put the wait for event in the main Workflow process.&nbsp; Then you can control what steps are processed.&nbsp; If that design doesn't work for you then pass&nbsp;a container element from sub Workflow to main Workflow.&nbsp; Use this element to make decision on steps to process.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Thomas Maue<BR><BR>--- On <B>Wed, 11/4/09, david.s.dittmer@accenture.com <I>&lt;david.s.dittmer@accenture.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: david.s.dittmer@accenture.com &lt;david.s.dittmer@accenture.com&gt;<BR>Subject: Sub-Workflow when complete must terminate workflow<BR>To: sap-wug@mit.edu<BR>Date: Wednesday, November 4, 2009, 4:19 PM<BR><BR>
<DIV id=yiv1215552479>
<STYLE>
<!--
#yiv1215552479  
 _filtered #yiv1215552479 {font-family:"Book Antiqua";panose-1:2 4 6 2 5 3 5 3 3 4;}
 _filtered #yiv1215552479 {font-family:"Arial Narrow";panose-1:2 11 5 6 2 2 2 3 2 4;}
#yiv1215552479  
#yiv1215552479 p.MsoNormal, #yiv1215552479 li.MsoNormal, #yiv1215552479 div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Book Antiqua";}
#yiv1215552479 h1
        {margin-top:12.0pt;margin-right:0in;margin-bottom:3.0pt;margin-left:0in;font-size:14.0pt;font-family:"Book Antiqua";}
#yiv1215552479 h2
        {margin-top:12.0pt;margin-right:0in;margin-bottom:3.0pt;margin-left:0in;font-size:12.0pt;font-family:"Book Antiqua";font-style:italic;}
#yiv1215552479 h3
        {margin-top:12.0pt;margin-right:0in;margin-bottom:3.0pt;margin-left:0in;font-size:12.0pt;font-family:"Book Antiqua";font-weight:normal;}
#yiv1215552479 p.MsoHeader, #yiv1215552479 li.MsoHeader, #yiv1215552479 div.MsoHeader
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Book Antiqua";}
#yiv1215552479 p.MsoFooter, #yiv1215552479 li.MsoFooter, #yiv1215552479 div.MsoFooter
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Book Antiqua";}
#yiv1215552479 a:link, #yiv1215552479 span.MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1215552479 a:visited, #yiv1215552479 span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1215552479 p.ABLOCKPARA, #yiv1215552479 li.ABLOCKPARA, #yiv1215552479 div.ABLOCKPARA
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Book Antiqua";}
#yiv1215552479 p.ABULLET, #yiv1215552479 li.ABULLET, #yiv1215552479 div.ABULLET
        {margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:16.55pt;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Book Antiqua";}
#yiv1215552479 p.AINDENTEDBULLET, #yiv1215552479 li.AINDENTEDBULLET, #yiv1215552479 div.AINDENTEDBULLET
        {margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:33.1pt;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Book Antiqua";}
#yiv1215552479 p.AINDENTEDPARA, #yiv1215552479 li.AINDENTEDPARA, #yiv1215552479 div.AINDENTEDPARA
        {margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:16.55pt;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Book Antiqua";}
#yiv1215552479 span.EmailStyle23
        {font-family:Arial;color:windowtext;}
 _filtered #yiv1215552479 {margin:1.0in .75in 1.0in .75in;}
#yiv1215552479 div.Section1
        {}
-->
</STYLE>

<DIV class=Section1>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">Hello Workflow experts,</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">My workflow has a sub-workflow created in the middle of the main workflow. The sub-workflow has a wait for event step and when that step is triggered the sub-workflow runs to completion but at the same time the main workflow is triggered and activity steps are actioned &nbsp;which should not be triggered.</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">&nbsp;</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">My question is how can I develop the workflow that the completion of the sub-workflow will not trigger the main workflow to process&nbsp; unwanted steps. It is not possible to place the sub-workflow at the end of the main workflow. </SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">&nbsp;</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">I have checked the FAQ but could find nothing since I am sure that this issue must have &nbsp;arisen time and time again</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">&nbsp;</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">I am hopeful &nbsp;that an experienced workflow developer should &nbsp;be able to advise me how to solve this issue.</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">&nbsp;</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face="Arial Narrow"><SPAN style="FONT-FAMILY: 'Arial Narrow'; FONT-SIZE: 11pt">David S Dittmer</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face="Arial Narrow"><SPAN style="FONT-FAMILY: 'Arial Narrow'; FONT-SIZE: 11pt">Accenture</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face="Book Antiqua"><SPAN style="FONT-SIZE: 11pt">&nbsp;</SPAN></FONT></DIV>
<P class=MsoNormal><FONT size=2 face="Book Antiqua">&nbsp;</FONT></DIV></DIV>
<DIV>
<DIV></DIV>
<P style="FONT-FAMILY: Arial, Sans-Serif; FONT-SIZE: x-small">This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.</DIV></DIV></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>SAP-WUG mailing list<BR><A href="http://us.mc816.mail.yahoo.com/mc/compose?to=SAP-WUG@mit.edu" ymailto="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A><BR><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target=_blank>http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR></DIV></BLOCKQUOTE></td></tr></table>