<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=973051808-22022007><FONT 
face="Comic Sans MS" color=#0000ff size=2>Hi Markus,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=973051808-22022007><FONT 
face="Comic Sans MS" color=#0000ff size=2>how you are completing the task? By 
edit the workitem? Then I think, there is also the posssibility to select one of 
the both exits? If you select one, the the Workflow knows the way he has to 
go.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=973051808-22022007><FONT 
face="Comic Sans MS" color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=973051808-22022007><FONT 
face="Comic Sans MS" color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=973051808-22022007><FONT 
face="Comic Sans MS" color=#0000ff size=2>Anne</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>Von:</B> sap-wug-bounces@mit.edu 
  [mailto:sap-wug-bounces@mit.edu] <B>Im Auftrag von </B>Markus 
  Klein<BR><B>Gesendet:</B> Mittwoch, 21. Februar 2007 18:35<BR><B>An:</B> SAP 
  Workflow Users' Group<BR><B>Betreff:</B> Workflow Error, when setting a User 
  Decision task in status completed<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=860302517-21022007>Hello,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=860302517-21022007></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=860302517-21022007>in my workflow i 
  have a User Decision task with 2 exists. When i try to set the status of a 
  workitem of this task to completed using the Function 
  Module&nbsp;"SAP_WAPI_WORKITEM_COMPLETE" the workitem itself gets the status 
  completed, but the parent workflow gets the status error with the following 
  message "Error when defining a successor for node &lt;node&gt;" in the 
  protocol.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN class=860302517-21022007>Its clear why this 
  happens, as the workflow-runtime doesnt know how to continue when the workitem 
  is completed this way. The question is tho, how can i overcome this error? 
  There has to be a way,&nbsp;where i can manually set a user decision task to 
  completeted and the parent workflow just continues.</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=860302517-21022007></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=860302517-21022007>cheers,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=860302517-21022007>Markus</SPAN></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV class=Section1>
  <P style="tab-stops: 36.0pt" align=left><FONT color=#808080><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">_________________<BR><BR></SPAN><B 
  style="mso-bidi-font-weight: normal"><SPAN 
  style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Markus Klein</SPAN></B></FONT><SPAN 
  style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"><BR><FONT 
  color=#808080><EM>SAP Senior 
  Consultant</EM><BR><BR></FONT></SPAN><STRONG><SPAN 
  style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><FONT color=#808080>ABS Team 
  GmbH</FONT></SPAN></STRONG><B><SPAN 
  style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><BR></SPAN></B><SPAN 
  style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial"><FONT 
  color=#808080>Muehlenweg 65<BR>37120 Bovenden<o:p></o:p></FONT></SPAN></P>
  <P><SPAN lang=EN-GB 
  style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB"><FONT 
  color=#808080>Tel +49 551 820 33 0<BR>Mobil +49 151 126 23 047<BR>Email 
  klein@abs-team.de<o:p></o:p></FONT></SPAN></P>
  <P><B style="mso-bidi-font-weight: normal"><SPAN 
  style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><SPAN 
  style="COLOR: windowtext; TEXT-DECORATION: none; text-underline: none"><FONT 
  color=#808080>www.abs-team.de</FONT></SPAN></SPAN></B></P>
  <P style="tab-stops: 36.0pt"><SPAN 
  style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"><o:p><SPAN 
  style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-family: 'Times New Roman'"><FONT 
  color=#808080 size=1>Geschäftsführer: Dr. Andreas Rupprecht - HRB Göttingen 
  1535</FONT></SPAN></o:p></SPAN></P></DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>