<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">

<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="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
font-face
        {font-family:"Monotype Corsiva";}
font-face
        {font-family:Calibri;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

<script id="dsbaseurl" language="JavaScript">
g_baseurl="SCRIPT>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV id=idOWAReplyText18196 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Sue,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Set the type of the result parameter as both export and import and also check for the ..data type of the result parameter in the method and the one binded in the WF Task &nbsp;container..</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
<DIV id=idSignature38486 dir=ltr><FONT face=Arial size=2>
<DIV>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p></SPAN><A name=_MailAutoSig><B><SPAN style="FONT-SIZE: 7.5pt; COLOR: #3333ff; FONT-FAMILY: Verdana; mso-no-proof: yes">Yogesh Patil</SPAN></B></A></FONT>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu on behalf of Sue Doughty<BR><B>Sent:</B> Tue 2/26/2008 12:06 PM<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B> Condition step not working in Workflow<BR></FONT><BR></DIV></DIV></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">We are on 4.7, ECC 6.0</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I have a sub-workflow that executes a loop until a result flag is set to T.&nbsp; It executes a method that reads a table with some information.&nbsp; If the record is found, the result is set to T, if not it is set to F and the result container is set in the method.&nbsp; The next step is a condition to check the result.&nbsp; If T, the loop and sub-workflow are completed, if F, it waits and tries again after five minutes.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><B><FONT face=Arial color=navy size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">My problem</SPAN></FONT></B><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">:&nbsp; If the method executes and the result is T, the workflow works as designed.&nbsp; If the method returns a result of F, the workflow stops at that step and does not move to the condition step to check the result.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I can see that the method is returning the result container.&nbsp; If the Result = T, I can see that the Result container is sent back to the sub-workflow. &nbsp;When I look at the step in the log, it says that the background item was created, started, work item processing is complete and the result processing is done with no errors.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If the Result is F, I can see that the method is returning the result container, but the workflow container does NOT get set to the Result.&nbsp; When I look at the step in the log, it says that the background item was created; started and work item processing is complete with no errors, <B><SPAN style="FONT-WEIGHT: bold">BUT</SPAN></B> the Result Processing is <B><SPAN style="FONT-WEIGHT: bold">NOT</SPAN></B> done.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">What am I missing?&nbsp; Why is the Result processing being done for one result but not the other?</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<DIV>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Regards,</SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"></SPAN></FONT></P>
<P class=MsoNormal><EM><B><I><FONT face="Monotype Corsiva" color=green size=5><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 18pt; COLOR: green; FONT-FAMILY: 'Monotype Corsiva'">Sue T. Doughty</SPAN></FONT></I></B></EM><FONT color=navy><SPAN style="COLOR: navy"></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">SAP Workflow Specialist</SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">Old Dominion Freight Line, Inc.</SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">500 Old Dominion Way</SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">Thomasville</SPAN></FONT><FONT face=Arial color=navy size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">, NC 27360</SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">Phone:&nbsp; (336) 822-5189</SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">Toll Free (800 ) 432-6335, ext. 5189</SPAN></FONT><FONT color=navy><SPAN style="COLOR: navy"></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=1><SPAN style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">Email:&nbsp; <A href="mailto:sue.doughty@odfl.com">sue.doughty@odfl.com</A></SPAN></FONT></P></DIV></DIV>
<P></P>
<P>**************************** <BR>CONFIDENTIALITY NOTICE: The information contained in this message may be confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message, any part of it, or any attachments. If you have received this message in error, please delete this message and any attachments from your system without reading the content and notify the sender immediately of the inadvertent transmission. Thank you for your cooperation. </NOSCRIPT>
<SCRIPT language=javascript id=dstb-id>if(typeof(dstb)!= "undefined"){ dstb();}
</script>
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Yogesh,<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'>Did you mean to send a response?&nbsp; I see
nothing in your email.<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=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Regards,</span></font><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><em><b><i><font size=5 color=green face="Monotype Corsiva"><span
style='font-size:18.0pt;font-family:"Monotype Corsiva";color:green;font-weight:
bold'>Sue T. Doughty</span></font></i></b></em><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>SAP Workflow Specialist</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>Old Dominion Freight Line, Inc.</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:Street w:st="on"><st1:address w:st="on"><font size=1
  color=navy face=Arial><span style='font-size:7.5pt;font-family:Arial;
  color:navy'>500 Old Dominion Way</span></font></st1:address></st1:Street><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=1
  color=navy face=Arial><span style='font-size:7.5pt;font-family:Arial;
  color:navy'>Thomasville</span></font></st1:City><font size=1 color=navy
 face=Arial><span style='font-size:7.5pt;font-family:Arial;color:navy'>, <st1:State
 w:st="on">NC</st1:State> <st1:PostalCode w:st="on">27360</st1:PostalCode></span></font></st1:place><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>Phone:&nbsp; (336) 822-5189</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>Toll Free (800 ) 432-6335, ext. 5189</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'>Email:&nbsp; <a
href="mailto:sue.doughty@odfl.com"><font face="Times New Roman"><span
style='font-family:"Times New Roman"'>sue.doughty@odfl.com</span></font></a></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>Yogesh Patil<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, February 26, 2008
1:36 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: Condition step not
working in 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>

<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>

<p></p><p>**************************** <br>CONFIDENTIALITY NOTICE: The information contained in this message may be confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this message, any part of it, or any attachments. If you have received this message in error, please delete this message and any attachments from your system without reading the content and notify the sender immediately of the inadvertent transmission. Thank you for your cooperation.</body>

</html>