<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns0="urn:schemas-microsoft-com:office:smarttags">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (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]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<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;}
_filtered #yiv1215552479 {margin:1.0in .75in 1.0in .75in;}

 /* Font Definitions */
 @font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 5 6 2 2 2 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:24.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
h2
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:18.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
h3
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:13.5pt;
        font-family:"Times New Roman";
        font-weight:bold;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoFooter, li.MsoFooter, div.MsoFooter
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.ABLOCKPARA, li.ABLOCKPARA, div.ABLOCKPARA
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Book Antiqua";}
p.ABULLET, li.ABULLET, div.ABULLET
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:16.55pt;
        margin-bottom:.0001pt;
        text-indent:-16.55pt;
        font-size:11.0pt;
        font-family:"Book Antiqua";}
p.AINDENTEDBULLET, li.AINDENTEDBULLET, div.AINDENTEDBULLET
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:33.1pt;
        margin-bottom:.0001pt;
        text-indent:-16.55pt;
        font-size:11.0pt;
        font-family:"Book Antiqua";}
p.AINDENTEDPARA, li.AINDENTEDPARA, 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";}
p.ablockpara0, li.ablockpara0, div.ablockpara0
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.abullet0, li.abullet0, div.abullet0
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.aindentedbullet0, li.aindentedbullet0, div.aindentedbullet0
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.aindentedpara0, li.aindentedpara0, div.aindentedpara0
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.ablockpara1, li.ablockpara1, div.ablockpara1
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Book Antiqua";}
p.abullet1, li.abullet1, div.abullet1
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:16.55pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Book Antiqua";}
p.aindentedbullet1, li.aindentedbullet1, div.aindentedbullet1
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:33.1pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Book Antiqua";}
p.aindentedpara1, li.aindentedpara1, div.aindentedpara1
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:16.55pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Book Antiqua";}
span.emailstyle231
        {font-family:Arial;
        color:windowtext;}
span.EmailStyle34
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in .75in 1.0in .75in;}
div.Section1
        {page:Section1;}
-->
</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=EN-US link="#000000" vlink="#000000">

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hello Thomas,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for your recommendation. I have
already &nbsp;selected &nbsp;the second approach. I tried that yesterday using a
condition but could not get it work. I want the &nbsp;condition &nbsp;if &nbsp;TRUE to &nbsp;terminate
the workflow but I could not get the workflow to do it as it just creates a
loop and returns to the main flow&#8230;..is there some syntax that can be
inserted in the condition to make it terminate.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>regards<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Arial Narrow"><span
style='font-size:12.0pt;font-family:"Arial Narrow";color:navy'>David S Dittmer</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Arial Narrow"><span
style='font-size:12.0pt;font-family:"Arial Narrow";color:navy'>Accenture</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<ns0:place w:insAuthor="david.s.dittmer" w:insDate="2009-11-05T10:42:00Z"
 w:endInsAuthor="david.s.dittmer" w:endInsDate="2009-11-05T10:42:00Z"><ns0:PostalCode
  w:insAuthor="david.s.dittmer" w:insDate="2009-11-05T10:42:00Z"
  w:endInsAuthor="david.s.dittmer" w:endInsDate="2009-11-05T10:42:00Z">
  <p class=MsoNormal><font size=3 color="#0080c0" face="Arial Narrow"><span
  style='font-size:12.0pt;font-family:"Arial Narrow";color:#0080C0'>||&nbsp;</span></font><font
  color="#0080c0"><span style='color:#0080C0'><o:p></o:p></span></font></p>
 </ns0:PostalCode></ns0:place>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font><o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>BPT Consulting<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, November 04, 2009
8:34 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Sub-Workflow when
complete must terminate workflow</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0>
 <tr>
  <td valign=top style='padding:0in 0in 0in 0in'>
  <div>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>David,<o:p></o:p></span></font></p>
  </div>
  <div>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>
  </div>
  <div>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>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.<o:p></o:p></span></font></p>
  </div>
  <div>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>
  </div>
  <div>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>Regards,<o:p></o:p></span></font></p>
  </div>
  <div>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>Thomas Maue<br>
  <br>
  --- On <b><span style='font-weight:bold'>Wed, 11/4/09,
  david.s.dittmer@accenture.com <i><span style='font-style:italic'>&lt;david.s.dittmer@accenture.com&gt;</span></i></span></b>
  wrote:<o:p></o:p></span></font></p>
  </div>
  <blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;
  margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt'>
  <p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
  face="Times New Roman"><span style='font-size:12.0pt'><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<o:p></o:p></span></font></p>
  <div id=yiv1215552479>
  <div>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hello
  Workflow experts,</span></font><o:p></o:p></p>
  </div>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>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><o:p></o:p></p>
  </div>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>
  </blockquote>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>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><o:p></o:p></p>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>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><o:p></o:p></p>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I am
  hopeful &nbsp;that an experienced workflow developer should &nbsp;be able to
  advise me how to solve this issue.</span></font><o:p></o:p></p>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o:p></p>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face="Arial Narrow"><span style='font-size:11.0pt;font-family:"Arial Narrow"'>David
  S Dittmer</span></font><o:p></o:p></p>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face="Arial Narrow"><span style='font-size:11.0pt;font-family:"Arial Narrow"'>Accenture</span></font><o:p></o:p></p>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face="Book Antiqua"><span style='font-size:11.0pt;font-family:"Book Antiqua"'>&nbsp;</span></font><o:p></o:p></p>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
  size=2 face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua"'>&nbsp;</span></font><o:p></o:p></p>
  <div>
  <p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>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.<o:p></o:p></span></font></p>
  </div>
  <p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
  face="Times New Roman"><span style='font-size:12.0pt'><br>
  -----Inline Attachment Follows-----<o:p></o:p></span></font></p>
  <div>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>_______________________________________________<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"><u><font color=blue><span style='color:blue'>SAP-WUG@mit.edu</span></font></u></a><br>
  <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank"><u><font
  color=blue><span style='color:blue'>http://mailman.mit.edu/mailman/listinfo/sap-wug</span></font></u></a><o:p></o:p></span></font></p>
  </div>
  </td>
 </tr>
</table>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div id="##disclaimer##"><p></p><p style="FONT-SIZE: x-small; FONT-FAMILY: Arial, Sans-Serif">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.</p></div></body>

</html>