<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</STYLE>

<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" size=3><SPAN 
class=495170617-28022008>This is incorrect if you are trying to catch the RESULT 
parm from method-&gt;task!</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><FONT face="Microsoft Sans Serif"><FONT 
size=3>swc_set_element container 'RESULT'&nbsp; 'T'.<SPAN 
class=495170617-28022008> Will set a "container element". 
</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT><FONT face="Microsoft Sans Serif"><FONT 
size=3><SPAN class=495170617-28022008></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face="Microsoft Sans Serif" size=3><SPAN 
class=495170617-28022008>swc_set_element container RESULT&nbsp; 'T'. Will set 
the&nbsp;METHOD&nbsp;RESULT</SPAN></FONT><FONT face="Microsoft Sans Serif" 
size=3><SPAN class=495170617-28022008> parameters to be caught by 
Task.</SPAN></FONT></DIV>
<DIV><FONT face="Microsoft Sans Serif" size=3><SPAN 
class=495170617-28022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Microsoft Sans Serif" size=3><SPAN 
class=495170617-28022008></SPAN></FONT><FONT face="Microsoft Sans Serif" 
size=3><SPAN class=495170617-28022008></SPAN></FONT><FONT 
face="Microsoft Sans Serif" size=3><SPAN 
class=495170617-28022008></SPAN></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face="Microsoft Sans Serif" size=3><SPAN class=495170617-28022008><!-- Converted from text/plain format -->
<P><FONT size=2>Rick Sample<BR>SAP Business Workflow Developer<BR>Graybar, 
Inc.<BR>11885 Lackland Dr.<BR>St. Louis, MO. 
63146<BR>314-573-5822<BR><BR><BR></FONT></P></SPAN></FONT></DIV>
<DIV><FONT face="Microsoft Sans Serif" size=3><SPAN 
class=495170617-28022008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face="Microsoft Sans Serif" size=3></FONT>&nbsp;</DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>yogesh 
patil<BR><B>Sent:</B> Thursday, February 28, 2008 10:41 AM<BR><B>To:</B> 
sap-wug@mit.edu<BR><B>Subject:</B> RE: SAP-WUG Digest, Vol 39, Issue 
78<BR></FONT><BR></DIV>
<DIV></DIV><FONT face="Microsoft Sans Serif" color=#000080 
size=3></FONT><BR>Sue,<BR>&nbsp;<BR>&nbsp; Since you are checking the condition 
in a loop ,i think you have to do a container operation&nbsp; with assign "after 
"the method you are calling for getting T or F&nbsp;&nbsp; of the 
result&nbsp;&nbsp; element and then check for the&nbsp; Condition(the workflow 
container used&nbsp;in the container operation)&nbsp;in the condition step. it 
should work.<BR>&nbsp;<BR>for exampe!<BR>&nbsp;<BR>method 
get_result.<BR>&nbsp;<BR>if <BR>swc_set_element container 'RESULTt'&nbsp; 
'T'.<BR>else.<BR>swc_Set_element container 'RESULT' 
'F'.<BR>&nbsp;<BR>endmethod.<BR>&nbsp;<BR>Do a container operation in the wf 
definition.<BR>&nbsp;<BR>set the&nbsp; workflow container&nbsp; for EX..FLAG = 
RESULT(from task container)<BR>&nbsp;<BR>and then in the next step check for the 
<BR>WF container FLAG in the 
condition.<BR>&nbsp;<BR>&nbsp;<BR>&nbsp;<BR>&nbsp;<BR>Please let me know if this 
works..<BR>&nbsp;<BR>Thanks,<BR>&nbsp;<BR><BR>yogesh.<BR><BR>&gt; From: 
sap-wug-request@mit.edu<BR>&gt; Subject: SAP-WUG Digest, Vol 39, Issue 
78<BR>&gt; To: sap-wug@mit.edu<BR>&gt; Date: Thu, 28 Feb 2008 10:31:04 
-0500<BR>&gt; <BR>&gt; Send SAP-WUG mailing list submissions to<BR>&gt; 
sap-wug@mit.edu<BR>&gt; <BR>&gt; To subscribe or unsubscribe via the World Wide 
Web, visit<BR>&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; or, 
via email, send a message with subject or body 'help' to<BR>&gt; 
sap-wug-request@mit.edu<BR>&gt; <BR>&gt; You can reach the person managing the 
list at<BR>&gt; sap-wug-owner@mit.edu<BR>&gt; <BR>&gt; When replying, please 
edit your Subject line so it is more specific<BR>&gt; than "Re: Contents of 
SAP-WUG digest..."<BR>&gt; <BR>&gt; <BR>&gt; Today's Topics:<BR>&gt; <BR>&gt; 1. 
RE: Condition step not working in Workflow (Sue Doughty)<BR>&gt; 2. RE: 
Condition step not working in Workflow (Sue Doughty)<BR>&gt; 3. RE: Condition 
step not working in Workflow (Sample, Rick)<BR>&gt; <BR>&gt; <BR>&gt; 
----------------------------------------------------------------------<BR>&gt; 
<BR>&gt; Message: 1<BR>&gt; Date: Thu, 28 Feb 2008 08:23:51 -0500<BR>&gt; From: 
"Sue Doughty" &lt;Sue.Doughty@odfl.com&gt;<BR>&gt; Subject: RE: Condition step 
not working in Workflow<BR>&gt; To: "SAP Workflow Users' Group" 
&lt;sap-wug@mit.edu&gt;<BR>&gt; Message-ID:<BR>&gt; 
&lt;082C942F46528B44B5463D3C2A1FF0F40E5BB199@corp-m-exch2.corp.odfl.com&gt;<BR>&gt; 
Content-Type: text/plain; charset="us-ascii"<BR>&gt; <BR>&gt; Hi Mike,<BR>&gt; 
<BR>&gt; The step actually completes. The next step (condition checking for T 
or<BR>&gt; F) does not start if the result of the method is F, but the condition 
is<BR>&gt; executed if the result of the method is T.<BR>&gt; <BR>&gt; I'll give 
your suggestion a try.<BR>&gt; <BR>&gt; Regards,<BR>&gt; Sue T. Doughty<BR>&gt; 
SAP Workflow Specialist<BR>&gt; Old Dominion Freight Line, Inc.<BR>&gt; 500 Old 
Dominion Way<BR>&gt; Thomasville, NC 27360<BR>&gt; Phone: (336) 822-5189<BR>&gt; 
Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; Email: sue.doughty@odfl.com<BR>&gt; 
-----Original Message-----<BR>&gt; From: sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] On Behalf<BR>&gt; Of Mike Pokraka<BR>&gt; Sent: 
Thursday, February 28, 2008 7:54 AM<BR>&gt; To: SAP Workflow Users' 
Group<BR>&gt; Subject: RE: Condition step not working in Workflow<BR>&gt; 
<BR>&gt; Just to confirm the obvious: Does the step actually complete? 
(Status<BR>&gt; Completed)<BR>&gt; If it just completes and the next step 
doesn't start then your WF<BR>&gt; definition couldbe corrupt. Put the two steps 
into a test WF and see if<BR>&gt; that works.<BR>&gt; <BR>&gt; On Wed, February 
27, 2008 6:20 pm, Sue Doughty wrote:<BR>&gt; &gt; Hi Mike,<BR>&gt; &gt;<BR>&gt; 
&gt; I changed the data type to SY-INPUT and still get the same results.<BR>&gt; 
&gt;<BR>&gt; &gt; Thank you for the suggestion though. I'm willing to try 
anything. I<BR>&gt; &gt; hope that it is not something so simple that I'll feel 
really stupid<BR>&gt; &gt; when I find it. :-)<BR>&gt; &gt;<BR>&gt; &gt; 
Regards,<BR>&gt; &gt; Sue T. Doughty<BR>&gt; &gt; SAP Workflow 
Specialist<BR>&gt; &gt; Old Dominion Freight Line, Inc.<BR>&gt; &gt; 500 Old 
Dominion Way<BR>&gt; &gt; Thomasville, NC 27360<BR>&gt; &gt; Phone: (336) 
822-5189<BR>&gt; &gt; Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; &gt; Email: 
sue.doughty@odfl.com<BR>&gt; &gt;<BR>&gt; &gt; -----Original 
Message-----<BR>&gt; &gt; From: sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] On<BR>&gt; Behalf<BR>&gt; &gt; Of Mike 
Pokraka<BR>&gt; &gt; Sent: Wednesday, February 27, 2008 12:13 PM<BR>&gt; &gt; 
To: SAP Workflow Users' Group<BR>&gt; &gt; Subject: RE: Condition step not 
working in Workflow<BR>&gt; &gt;<BR>&gt; &gt; Hmm, not too sure then. I thought 
I'd mention as it would be worth<BR>&gt; &gt; checking. Also make sure your data 
type is valid for the values. Try<BR>&gt; &gt; changing it to SY-INPUT just to 
make sure.<BR>&gt; &gt;<BR>&gt; &gt; On Wed, February 27, 2008 4:11 pm, Sue 
Doughty wrote:<BR>&gt; &gt;&gt; Hi Mike,<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
Thanks for your reply.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; I am not using a result 
parameter even though I tried that when it<BR>&gt; did<BR>&gt; &gt;&gt; not work 
the way I had it at first. Neither way works. I can see in<BR>&gt; &gt;&gt; the 
workflow log that my export parameter (ImageFound) is being<BR>&gt; &gt;&gt; 
populated with the correct 'T' or 'F' value, but the Results<BR>&gt; &gt; 
processing<BR>&gt; &gt;&gt; step is not being executed with an F value - it only 
executes when<BR>&gt; the<BR>&gt; &gt;&gt; export parameter contains a 'T' 
value.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; I can't use a virtual attribute because 
the input parameters to the<BR>&gt; &gt;&gt; method change with each call to the 
method (i.e., doctype and<BR>&gt; &gt;&gt; imagedate).<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;&gt; Regards,<BR>&gt; &gt;&gt; Sue T. Doughty<BR>&gt; &gt;&gt; SAP Workflow 
Specialist<BR>&gt; &gt;&gt; Old Dominion Freight Line, Inc.<BR>&gt; &gt;&gt; 500 
Old Dominion Way<BR>&gt; &gt;&gt; Thomasville, NC 27360<BR>&gt; &gt;&gt; Phone: 
(336) 822-5189<BR>&gt; &gt;&gt; Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; 
&gt;&gt; Email: sue.doughty@odfl.com<BR>&gt; &gt;&gt; -----Original 
Message-----<BR>&gt; &gt;&gt; From: sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] On<BR>&gt; &gt; Behalf<BR>&gt; &gt;&gt; Of Mike 
Pokraka<BR>&gt; &gt;&gt; Sent: Wednesday, February 27, 2008 10:44 AM<BR>&gt; 
&gt;&gt; To: SAP Workflow Users' Group<BR>&gt; &gt;&gt; Subject: Re: Condition 
step not working in Workflow<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Hi Sue,<BR>&gt; 
&gt;&gt; Are you using a standard return parameter or a result 
parameter?<BR>&gt; &gt;&gt; ("Result<BR>&gt; &gt;&gt; parameter" checkbox on 
your method properties).<BR>&gt; &gt;&gt; Result parameters behave differently, 
T/F must be defined within the<BR>&gt; &gt;&gt; data<BR>&gt; &gt;&gt; dictionary 
and become separate outcomes of the method.<BR>&gt; &gt;&gt; Also, perhaps a 
virtual attribute might be easier if this is all that<BR>&gt; &gt;&gt; 
the<BR>&gt; &gt;&gt; method does...<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
Cheers,<BR>&gt; &gt;&gt; Mike<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; On Tue, February 
26, 2008 5:06 pm, Sue Doughty wrote:<BR>&gt; &gt;&gt;&gt; We are on 4.7, ECC 
6.0<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; I have a sub-workflow that executes a loop until a result flag 
is<BR>&gt; set<BR>&gt; &gt;&gt; to<BR>&gt; &gt;&gt;&gt; T. It executes a method 
that reads a table with some information.<BR>&gt; &gt; If<BR>&gt; &gt;&gt;&gt; 
the record is found, the result is set to T, if not it is set to F<BR>&gt; &gt; 
and<BR>&gt; &gt;&gt;&gt; the result container is set in the method. The next 
step is a<BR>&gt; &gt;&gt; condition<BR>&gt; &gt;&gt;&gt; to check the result. 
If T, the loop and sub-workflow are completed,<BR>&gt; &gt;&gt; if<BR>&gt; 
&gt;&gt;&gt; F, it waits and tries again after five minutes.<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; My 
problem: If the method executes and the result is T, the<BR>&gt; 
workflow<BR>&gt; &gt;&gt;&gt; works as designed. If the method returns a result 
of F, the<BR>&gt; workflow<BR>&gt; &gt;&gt;&gt; stops at that step and does not 
move to the condition step to check<BR>&gt; &gt;&gt; the<BR>&gt; &gt;&gt;&gt; 
result.<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; I can see that the method is returning the result container. If 
the<BR>&gt; &gt;&gt;&gt; Result = T, I can see that the Result container is sent 
back to the<BR>&gt; &gt;&gt;&gt; sub-workflow. When I look at the step in the 
log, it says that the<BR>&gt; &gt;&gt;&gt; background item was created, started, 
work item processing is<BR>&gt; &gt; complete<BR>&gt; &gt;&gt;&gt; and the 
result processing is done with no errors.<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; If the Result is F, I can 
see that the method is returning the<BR>&gt; result<BR>&gt; &gt;&gt;&gt; 
container, but the workflow container does NOT get set to the<BR>&gt; 
Result.<BR>&gt; &gt;&gt;&gt; When I look at the step in the log, it says that 
the background item<BR>&gt; &gt;&gt; was<BR>&gt; &gt;&gt;&gt; created; started 
and work item processing is complete with no<BR>&gt; errors,<BR>&gt; 
&gt;&gt;&gt; BUT the Result Processing is NOT done.<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; What am I missing? Why is 
the Result processing being done for one<BR>&gt; &gt;&gt;&gt; result but not the 
other?<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; Regards,<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Sue T. 
Doughty<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; SAP Workflow 
Specialist<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Old Dominion Freight Line, 
Inc.<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; 500 Old Dominion Way<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Thomasville, NC 27360<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Phone: (336) 822-5189<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Email: sue.doughty@odfl.com<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; 
****************************<BR>&gt; &gt;&gt;&gt; CONFIDENTIALITY NOTICE: The 
information contained in this message<BR>&gt; may<BR>&gt; &gt;&gt; be<BR>&gt; 
&gt;&gt;&gt; confidential, privileged, proprietary, or otherwise legally 
exempt<BR>&gt; &gt;&gt; from<BR>&gt; &gt;&gt;&gt; disclosure. If the reader of 
this message is not the intended<BR>&gt; &gt;&gt; recipient,<BR>&gt; 
&gt;&gt;&gt; or an employee or agent responsible for delivering this message 
to<BR>&gt; &gt; the<BR>&gt; &gt;&gt;&gt; intended recipient, you are hereby 
notified that you are not<BR>&gt; &gt;&gt; authorized to<BR>&gt; &gt;&gt;&gt; 
read, print, retain, copy or disseminate this message, any part of<BR>&gt; &gt; 
it,<BR>&gt; &gt;&gt; or<BR>&gt; &gt;&gt;&gt; any attachments. If you have 
received this message in error, please<BR>&gt; &gt;&gt; delete<BR>&gt; 
&gt;&gt;&gt; this message and any attachments from your system without 
reading<BR>&gt; the<BR>&gt; &gt;&gt;&gt; content and notify the sender 
immediately of the inadvertent<BR>&gt; &gt;&gt; transmission.<BR>&gt; 
&gt;&gt;&gt; Thank you for your cooperation.<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; _______________________________________________<BR>&gt; 
&gt;&gt;&gt; SAP-WUG mailing list<BR>&gt; &gt;&gt;&gt; SAP-WUG@mit.edu<BR>&gt; 
&gt;&gt;&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
_______________________________________________<BR>&gt; &gt;&gt; SAP-WUG mailing 
list<BR>&gt; &gt;&gt; SAP-WUG@mit.edu<BR>&gt; &gt;&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;&gt;<BR>&gt; &gt;&gt; ****************************<BR>&gt; &gt;&gt; 
CONFIDENTIALITY NOTICE: The information contained in this message may<BR>&gt; 
&gt; be<BR>&gt; &gt;&gt; confidential, privileged, proprietary, or otherwise 
legally exempt<BR>&gt; &gt; from<BR>&gt; &gt;&gt; disclosure. If the reader of 
this message is not the intended<BR>&gt; &gt; recipient,<BR>&gt; &gt;&gt; or an 
employee or agent responsible for delivering this message to<BR>&gt; the<BR>&gt; 
&gt;&gt; intended recipient, you are hereby notified that you are not<BR>&gt; 
&gt; authorized to<BR>&gt; &gt;&gt; read, print, retain, copy or disseminate 
this message, any part of<BR>&gt; it,<BR>&gt; &gt; or<BR>&gt; &gt;&gt; any 
attachments. If you have received this message in error, please<BR>&gt; &gt; 
delete<BR>&gt; &gt;&gt; this message and any attachments from your system 
without reading the<BR>&gt; &gt;&gt; content and notify the sender immediately 
of the inadvertent<BR>&gt; &gt; transmission.<BR>&gt; &gt;&gt; Thank you for 
your cooperation.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
_______________________________________________<BR>&gt; &gt;&gt; SAP-WUG mailing 
list<BR>&gt; &gt;&gt; SAP-WUG@mit.edu<BR>&gt; &gt;&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;<BR>&gt; &gt;<BR>&gt; &gt; 
_______________________________________________<BR>&gt; &gt; SAP-WUG mailing 
list<BR>&gt; &gt; SAP-WUG@mit.edu<BR>&gt; &gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;<BR>&gt; 
&gt;<BR>&gt; &gt; ****************************<BR>&gt; &gt; CONFIDENTIALITY 
NOTICE: The information contained in this message may<BR>&gt; be<BR>&gt; &gt; 
confidential, privileged, proprietary, or otherwise legally exempt<BR>&gt; 
from<BR>&gt; &gt; disclosure. If the reader of this message is not the 
intended<BR>&gt; recipient,<BR>&gt; &gt; or an employee or agent responsible for 
delivering this message to the<BR>&gt; &gt; intended recipient, you are hereby 
notified that you are not<BR>&gt; authorized to<BR>&gt; &gt; read, print, 
retain, copy or disseminate this message, any part of it,<BR>&gt; or<BR>&gt; 
&gt; any attachments. If you have received this message in error, please<BR>&gt; 
delete<BR>&gt; &gt; this message and any attachments from your system without 
reading the<BR>&gt; &gt; content and notify the sender immediately of the 
inadvertent<BR>&gt; transmission.<BR>&gt; &gt; Thank you for your 
cooperation.<BR>&gt; &gt;<BR>&gt; &gt; 
_______________________________________________<BR>&gt; &gt; SAP-WUG mailing 
list<BR>&gt; &gt; SAP-WUG@mit.edu<BR>&gt; &gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;<BR>&gt; <BR>&gt; 
<BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing 
list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; <BR>&gt; <BR>&gt; 
****************************<BR>&gt; 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.<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; 
------------------------------<BR>&gt; <BR>&gt; Message: 2<BR>&gt; Date: Thu, 28 
Feb 2008 09:53:03 -0500<BR>&gt; From: "Sue Doughty" 
&lt;Sue.Doughty@odfl.com&gt;<BR>&gt; Subject: RE: Condition step not working in 
Workflow<BR>&gt; To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<BR>&gt; 
Message-ID:<BR>&gt; 
&lt;082C942F46528B44B5463D3C2A1FF0F40E5BB327@corp-m-exch2.corp.odfl.com&gt;<BR>&gt; 
Content-Type: text/plain; charset="us-ascii"<BR>&gt; <BR>&gt; Hi Mike,<BR>&gt; 
<BR>&gt; I tried creating the dummy method that just takes in the T or F 
and<BR>&gt; returns the T or F that was sent in like you said....got same 
results.<BR>&gt; <BR>&gt; I tried creating a new workflow with the new dummy 
task and a new<BR>&gt; condition step (that reads the workflow container that is 
updated from<BR>&gt; the method looking for the T or F)....got same 
results.<BR>&gt; <BR>&gt; I tried change T and F to Y and N....got same 
results.<BR>&gt; <BR>&gt; I can see the output container from the method in the 
workflow log.<BR>&gt; But, if the condition is false, the output container from 
the method is<BR>&gt; not returned to the workflow container and the condition 
step is not<BR>&gt; executed. If the condition is true, the output container 
from the<BR>&gt; method is returned to the workflow container and the condition 
step is<BR>&gt; executed. <BR>&gt; <BR>&gt; I have an OSS note open with SAP. I 
can see where they have come into<BR>&gt; the system and tested it, but as of 
yet, have not gotten a response from<BR>&gt; them.<BR>&gt; <BR>&gt; I am totally 
befuddled!!!<BR>&gt; <BR>&gt; Regards,<BR>&gt; Sue T. Doughty<BR>&gt; SAP 
Workflow Specialist<BR>&gt; Old Dominion Freight Line, Inc.<BR>&gt; 500 Old 
Dominion Way<BR>&gt; Thomasville, NC 27360<BR>&gt; Phone: (336) 822-5189<BR>&gt; 
Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; Email: sue.doughty@odfl.com<BR>&gt; 
<BR>&gt; -----Original Message-----<BR>&gt; From: sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] On Behalf<BR>&gt; Of Mike Pokraka<BR>&gt; Sent: 
Thursday, February 28, 2008 7:54 AM<BR>&gt; To: SAP Workflow Users' 
Group<BR>&gt; Subject: RE: Condition step not working in Workflow<BR>&gt; 
<BR>&gt; Just to confirm the obvious: Does the step actually complete? 
(Status<BR>&gt; Completed)<BR>&gt; If it just completes and the next step 
doesn't start then your WF<BR>&gt; definition couldbe corrupt. Put the two steps 
into a test WF and see if<BR>&gt; that works.<BR>&gt; <BR>&gt; On Wed, February 
27, 2008 6:20 pm, Sue Doughty wrote:<BR>&gt; &gt; Hi Mike,<BR>&gt; &gt;<BR>&gt; 
&gt; I changed the data type to SY-INPUT and still get the same results.<BR>&gt; 
&gt;<BR>&gt; &gt; Thank you for the suggestion though. I'm willing to try 
anything. I<BR>&gt; &gt; hope that it is not something so simple that I'll feel 
really stupid<BR>&gt; &gt; when I find it. :-)<BR>&gt; &gt;<BR>&gt; &gt; 
Regards,<BR>&gt; &gt; Sue T. Doughty<BR>&gt; &gt; SAP Workflow 
Specialist<BR>&gt; &gt; Old Dominion Freight Line, Inc.<BR>&gt; &gt; 500 Old 
Dominion Way<BR>&gt; &gt; Thomasville, NC 27360<BR>&gt; &gt; Phone: (336) 
822-5189<BR>&gt; &gt; Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; &gt; Email: 
sue.doughty@odfl.com<BR>&gt; &gt;<BR>&gt; &gt; -----Original 
Message-----<BR>&gt; &gt; From: sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] On<BR>&gt; Behalf<BR>&gt; &gt; Of Mike 
Pokraka<BR>&gt; &gt; Sent: Wednesday, February 27, 2008 12:13 PM<BR>&gt; &gt; 
To: SAP Workflow Users' Group<BR>&gt; &gt; Subject: RE: Condition step not 
working in Workflow<BR>&gt; &gt;<BR>&gt; &gt; Hmm, not too sure then. I thought 
I'd mention as it would be worth<BR>&gt; &gt; checking. Also make sure your data 
type is valid for the values. Try<BR>&gt; &gt; changing it to SY-INPUT just to 
make sure.<BR>&gt; &gt;<BR>&gt; &gt; On Wed, February 27, 2008 4:11 pm, Sue 
Doughty wrote:<BR>&gt; &gt;&gt; Hi Mike,<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
Thanks for your reply.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; I am not using a result 
parameter even though I tried that when it<BR>&gt; did<BR>&gt; &gt;&gt; not work 
the way I had it at first. Neither way works. I can see in<BR>&gt; &gt;&gt; the 
workflow log that my export parameter (ImageFound) is being<BR>&gt; &gt;&gt; 
populated with the correct 'T' or 'F' value, but the Results<BR>&gt; &gt; 
processing<BR>&gt; &gt;&gt; step is not being executed with an F value - it only 
executes when<BR>&gt; the<BR>&gt; &gt;&gt; export parameter contains a 'T' 
value.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; I can't use a virtual attribute because 
the input parameters to the<BR>&gt; &gt;&gt; method change with each call to the 
method (i.e., doctype and<BR>&gt; &gt;&gt; imagedate).<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;&gt; Regards,<BR>&gt; &gt;&gt; Sue T. Doughty<BR>&gt; &gt;&gt; SAP Workflow 
Specialist<BR>&gt; &gt;&gt; Old Dominion Freight Line, Inc.<BR>&gt; &gt;&gt; 500 
Old Dominion Way<BR>&gt; &gt;&gt; Thomasville, NC 27360<BR>&gt; &gt;&gt; Phone: 
(336) 822-5189<BR>&gt; &gt;&gt; Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; 
&gt;&gt; Email: sue.doughty@odfl.com<BR>&gt; &gt;&gt; -----Original 
Message-----<BR>&gt; &gt;&gt; From: sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] On<BR>&gt; &gt; Behalf<BR>&gt; &gt;&gt; Of Mike 
Pokraka<BR>&gt; &gt;&gt; Sent: Wednesday, February 27, 2008 10:44 AM<BR>&gt; 
&gt;&gt; To: SAP Workflow Users' Group<BR>&gt; &gt;&gt; Subject: Re: Condition 
step not working in Workflow<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Hi Sue,<BR>&gt; 
&gt;&gt; Are you using a standard return parameter or a result 
parameter?<BR>&gt; &gt;&gt; ("Result<BR>&gt; &gt;&gt; parameter" checkbox on 
your method properties).<BR>&gt; &gt;&gt; Result parameters behave differently, 
T/F must be defined within the<BR>&gt; &gt;&gt; data<BR>&gt; &gt;&gt; dictionary 
and become separate outcomes of the method.<BR>&gt; &gt;&gt; Also, perhaps a 
virtual attribute might be easier if this is all that<BR>&gt; &gt;&gt; 
the<BR>&gt; &gt;&gt; method does...<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
Cheers,<BR>&gt; &gt;&gt; Mike<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; On Tue, February 
26, 2008 5:06 pm, Sue Doughty wrote:<BR>&gt; &gt;&gt;&gt; We are on 4.7, ECC 
6.0<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; I have a sub-workflow that executes a loop until a result flag 
is<BR>&gt; set<BR>&gt; &gt;&gt; to<BR>&gt; &gt;&gt;&gt; T. It executes a method 
that reads a table with some information.<BR>&gt; &gt; If<BR>&gt; &gt;&gt;&gt; 
the record is found, the result is set to T, if not it is set to F<BR>&gt; &gt; 
and<BR>&gt; &gt;&gt;&gt; the result container is set in the method. The next 
step is a<BR>&gt; &gt;&gt; condition<BR>&gt; &gt;&gt;&gt; to check the result. 
If T, the loop and sub-workflow are completed,<BR>&gt; &gt;&gt; if<BR>&gt; 
&gt;&gt;&gt; F, it waits and tries again after five minutes.<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; My 
problem: If the method executes and the result is T, the<BR>&gt; 
workflow<BR>&gt; &gt;&gt;&gt; works as designed. If the method returns a result 
of F, the<BR>&gt; workflow<BR>&gt; &gt;&gt;&gt; stops at that step and does not 
move to the condition step to check<BR>&gt; &gt;&gt; the<BR>&gt; &gt;&gt;&gt; 
result.<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; I can see that the method is returning the result container. If 
the<BR>&gt; &gt;&gt;&gt; Result = T, I can see that the Result container is sent 
back to the<BR>&gt; &gt;&gt;&gt; sub-workflow. When I look at the step in the 
log, it says that the<BR>&gt; &gt;&gt;&gt; background item was created, started, 
work item processing is<BR>&gt; &gt; complete<BR>&gt; &gt;&gt;&gt; and the 
result processing is done with no errors.<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; If the Result is F, I can 
see that the method is returning the<BR>&gt; result<BR>&gt; &gt;&gt;&gt; 
container, but the workflow container does NOT get set to the<BR>&gt; 
Result.<BR>&gt; &gt;&gt;&gt; When I look at the step in the log, it says that 
the background item<BR>&gt; &gt;&gt; was<BR>&gt; &gt;&gt;&gt; created; started 
and work item processing is complete with no<BR>&gt; errors,<BR>&gt; 
&gt;&gt;&gt; BUT the Result Processing is NOT done.<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; What am I missing? Why is 
the Result processing being done for one<BR>&gt; &gt;&gt;&gt; result but not the 
other?<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; Regards,<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Sue T. 
Doughty<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; SAP Workflow 
Specialist<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Old Dominion Freight Line, 
Inc.<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; 500 Old Dominion Way<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Thomasville, NC 27360<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Phone: (336) 822-5189<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Email: sue.doughty@odfl.com<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; 
****************************<BR>&gt; &gt;&gt;&gt; CONFIDENTIALITY NOTICE: The 
information contained in this message<BR>&gt; may<BR>&gt; &gt;&gt; be<BR>&gt; 
&gt;&gt;&gt; confidential, privileged, proprietary, or otherwise legally 
exempt<BR>&gt; &gt;&gt; from<BR>&gt; &gt;&gt;&gt; disclosure. If the reader of 
this message is not the intended<BR>&gt; &gt;&gt; recipient,<BR>&gt; 
&gt;&gt;&gt; or an employee or agent responsible for delivering this message 
to<BR>&gt; &gt; the<BR>&gt; &gt;&gt;&gt; intended recipient, you are hereby 
notified that you are not<BR>&gt; &gt;&gt; authorized to<BR>&gt; &gt;&gt;&gt; 
read, print, retain, copy or disseminate this message, any part of<BR>&gt; &gt; 
it,<BR>&gt; &gt;&gt; or<BR>&gt; &gt;&gt;&gt; any attachments. If you have 
received this message in error, please<BR>&gt; &gt;&gt; delete<BR>&gt; 
&gt;&gt;&gt; this message and any attachments from your system without 
reading<BR>&gt; the<BR>&gt; &gt;&gt;&gt; content and notify the sender 
immediately of the inadvertent<BR>&gt; &gt;&gt; transmission.<BR>&gt; 
&gt;&gt;&gt; Thank you for your cooperation.<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; _______________________________________________<BR>&gt; 
&gt;&gt;&gt; SAP-WUG mailing list<BR>&gt; &gt;&gt;&gt; SAP-WUG@mit.edu<BR>&gt; 
&gt;&gt;&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
_______________________________________________<BR>&gt; &gt;&gt; SAP-WUG mailing 
list<BR>&gt; &gt;&gt; SAP-WUG@mit.edu<BR>&gt; &gt;&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;&gt;<BR>&gt; &gt;&gt; ****************************<BR>&gt; &gt;&gt; 
CONFIDENTIALITY NOTICE: The information contained in this message may<BR>&gt; 
&gt; be<BR>&gt; &gt;&gt; confidential, privileged, proprietary, or otherwise 
legally exempt<BR>&gt; &gt; from<BR>&gt; &gt;&gt; disclosure. If the reader of 
this message is not the intended<BR>&gt; &gt; recipient,<BR>&gt; &gt;&gt; or an 
employee or agent responsible for delivering this message to<BR>&gt; the<BR>&gt; 
&gt;&gt; intended recipient, you are hereby notified that you are not<BR>&gt; 
&gt; authorized to<BR>&gt; &gt;&gt; read, print, retain, copy or disseminate 
this message, any part of<BR>&gt; it,<BR>&gt; &gt; or<BR>&gt; &gt;&gt; any 
attachments. If you have received this message in error, please<BR>&gt; &gt; 
delete<BR>&gt; &gt;&gt; this message and any attachments from your system 
without reading the<BR>&gt; &gt;&gt; content and notify the sender immediately 
of the inadvertent<BR>&gt; &gt; transmission.<BR>&gt; &gt;&gt; Thank you for 
your cooperation.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
_______________________________________________<BR>&gt; &gt;&gt; SAP-WUG mailing 
list<BR>&gt; &gt;&gt; SAP-WUG@mit.edu<BR>&gt; &gt;&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;<BR>&gt; &gt;<BR>&gt; &gt; 
_______________________________________________<BR>&gt; &gt; SAP-WUG mailing 
list<BR>&gt; &gt; SAP-WUG@mit.edu<BR>&gt; &gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;<BR>&gt; 
&gt;<BR>&gt; &gt; ****************************<BR>&gt; &gt; CONFIDENTIALITY 
NOTICE: The information contained in this message may<BR>&gt; be<BR>&gt; &gt; 
confidential, privileged, proprietary, or otherwise legally exempt<BR>&gt; 
from<BR>&gt; &gt; disclosure. If the reader of this message is not the 
intended<BR>&gt; recipient,<BR>&gt; &gt; or an employee or agent responsible for 
delivering this message to the<BR>&gt; &gt; intended recipient, you are hereby 
notified that you are not<BR>&gt; authorized to<BR>&gt; &gt; read, print, 
retain, copy or disseminate this message, any part of it,<BR>&gt; or<BR>&gt; 
&gt; any attachments. If you have received this message in error, please<BR>&gt; 
delete<BR>&gt; &gt; this message and any attachments from your system without 
reading the<BR>&gt; &gt; content and notify the sender immediately of the 
inadvertent<BR>&gt; transmission.<BR>&gt; &gt; Thank you for your 
cooperation.<BR>&gt; &gt;<BR>&gt; &gt; 
_______________________________________________<BR>&gt; &gt; SAP-WUG mailing 
list<BR>&gt; &gt; SAP-WUG@mit.edu<BR>&gt; &gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;<BR>&gt; <BR>&gt; 
<BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing 
list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; <BR>&gt; <BR>&gt; 
****************************<BR>&gt; 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.<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; 
------------------------------<BR>&gt; <BR>&gt; Message: 3<BR>&gt; Date: Thu, 28 
Feb 2008 09:29:50 -0600<BR>&gt; From: "Sample, Rick" 
&lt;Rick.Sample@gbe.com&gt;<BR>&gt; Subject: RE: Condition step not working in 
Workflow<BR>&gt; To: "SAP Workflow Users' Group" &lt;sap-wug@mit.edu&gt;<BR>&gt; 
Message-ID:<BR>&gt; 
&lt;1897E92A96C47648A6574CB9A51C6407055805CD@SEBEV1PW.graybar.com&gt;<BR>&gt; 
Content-Type: text/plain; charset="us-ascii"<BR>&gt; <BR>&gt; Hi Sue (a.k.a. Ms. 
Befuddled. LOL)<BR>&gt; <BR>&gt; This is interesting. Before you through in the 
towel do you mind<BR>&gt; checking a few things?<BR>&gt; <BR>&gt; 1: <BR>&gt; 
Try changing your data to just CHAR1 type for all values in your test WF<BR>&gt; 
/ method, <BR>&gt; GET_ELEMENT_CONTAINER the values to same data type in method 
at<BR>&gt; beginning of method, (inspect that you can actually get 
values)<BR>&gt; SET_ELEMENT_CONTAINER to same on export, (inspect you are 
actually<BR>&gt; setting the values)<BR>&gt; ensure all bindings are 
setup.<BR>&gt; <BR>&gt; 2:<BR>&gt; You are in ECC6? If so, the below may be a 
long shot, but worth<BR>&gt; remembering anyway. Because I had a similar 
sounding issue on conversion<BR>&gt; from 4.6c to ECC6. Bindings have new 
options. (Nice to know after the<BR>&gt; fact eh!)<BR>&gt; <BR>&gt; 4.6c by 
default, if you have bindings setup for task-&gt;WF but DO NOT do a<BR>&gt; 
SET_ELEMENT_CONTAINER in method it will NOT overwrite your WF values<BR>&gt; 
even though the binding are setup. <BR>&gt; * This, in my option, is the way it 
should have worked in the first<BR>&gt; place! You have a binding with null 
value...it should set null values!<BR>&gt; Period!<BR>&gt; Developers job to 
explicitly GET/SET in the code. (Not bindings!) Just<BR>&gt; my .02 worth. 
<BR>&gt; <BR>&gt; ECC6, by default, WILL overwrite empty / initial values unless 
you<BR>&gt; change the bindings to ignore empty/initial values.<BR>&gt; <BR>&gt; 
I do not like the extra options on bindings. Just a personal preference<BR>&gt; 
I suppose. So, what I now do is GET/SET all values in/out of<BR>&gt; 
task-method. <BR>&gt; That way, I don't have to squirrel through code AND 
bindings to figure<BR>&gt; out what is getting passed back if empty / initial 
values. If I want to<BR>&gt; pass back an empty value, I set the value to empty 
in the method. I find<BR>&gt; it more confusing to use the extra binding 
options. (Also, you can't add<BR>&gt; a "comment" on binding to remind yourself 
as to the whys, as you can in<BR>&gt; code)<BR>&gt; <BR>&gt; 3:<BR>&gt; If using 
ECC6, verify you are have all same data types for the values<BR>&gt; you are 
passing around. <BR>&gt; I know in 4.6c you can create the containers to a data 
type, but it<BR>&gt; always pass char 255 strings no matter what. i.e. if you 
import via<BR>&gt; GET_ELEMENT_CONTAINER, you got a string. Not a type data 
value you set<BR>&gt; in WF or Task. (Can't remember if ECC6 does this. Don't 
have it in front<BR>&gt; of me at the moment!)<BR>&gt; <BR>&gt; 4:<BR>&gt; 
Verify that the method is not terminating on your F condition before it<BR>&gt; 
gets a chance to set the value. <BR>&gt; <BR>&gt; If these are not the issue, 
and you would like more assistance, feel<BR>&gt; free to ask. (I have an inch of 
breathing room to spare today!)<BR>&gt; <BR>&gt; Rick Sample<BR>&gt; SAP 
Business Workflow Developer<BR>&gt; Graybar, Inc.<BR>&gt; 11885 Lackland 
Dr.<BR>&gt; St. Louis, MO. 63146<BR>&gt; 314-573-5822<BR>&gt; <BR>&gt; 
-----Original Message-----<BR>&gt; From: sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] On Behalf<BR>&gt; Of Sue Doughty<BR>&gt; Sent: 
Thursday, February 28, 2008 8:53 AM<BR>&gt; To: SAP Workflow Users' 
Group<BR>&gt; Subject: RE: Condition step not working in Workflow<BR>&gt; 
<BR>&gt; Hi Mike,<BR>&gt; <BR>&gt; I tried creating the dummy method that just 
takes in the T or F and<BR>&gt; returns the T or F that was sent in like you 
said....got same results.<BR>&gt; <BR>&gt; I tried creating a new workflow with 
the new dummy task and a new<BR>&gt; condition step (that reads the workflow 
container that is updated from<BR>&gt; the method looking for the T or F)....got 
same results.<BR>&gt; <BR>&gt; I tried change T and F to Y and N....got same 
results.<BR>&gt; <BR>&gt; I can see the output container from the method in the 
workflow log.<BR>&gt; But, if the condition is false, the output container from 
the method is<BR>&gt; not returned to the workflow container and the condition 
step is not<BR>&gt; executed. If the condition is true, the output container 
from the<BR>&gt; method is returned to the workflow container and the condition 
step is<BR>&gt; executed. <BR>&gt; <BR>&gt; I have an OSS note open with SAP. I 
can see where they have come into<BR>&gt; the system and tested it, but as of 
yet, have not gotten a response from<BR>&gt; them.<BR>&gt; <BR>&gt; I am totally 
befuddled!!!<BR>&gt; <BR>&gt; Regards,<BR>&gt; Sue T. Doughty<BR>&gt; SAP 
Workflow Specialist<BR>&gt; Old Dominion Freight Line, Inc.<BR>&gt; 500 Old 
Dominion Way<BR>&gt; Thomasville, NC 27360<BR>&gt; Phone: (336) 822-5189<BR>&gt; 
Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; Email: sue.doughty@odfl.com<BR>&gt; 
<BR>&gt; -----Original Message-----<BR>&gt; From: sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] On Behalf<BR>&gt; Of Mike Pokraka<BR>&gt; Sent: 
Thursday, February 28, 2008 7:54 AM<BR>&gt; To: SAP Workflow Users' 
Group<BR>&gt; Subject: RE: Condition step not working in Workflow<BR>&gt; 
<BR>&gt; Just to confirm the obvious: Does the step actually complete? 
(Status<BR>&gt; Completed)<BR>&gt; If it just completes and the next step 
doesn't start then your WF<BR>&gt; definition couldbe corrupt. Put the two steps 
into a test WF and see if<BR>&gt; that works.<BR>&gt; <BR>&gt; On Wed, February 
27, 2008 6:20 pm, Sue Doughty wrote:<BR>&gt; &gt; Hi Mike,<BR>&gt; &gt;<BR>&gt; 
&gt; I changed the data type to SY-INPUT and still get the same results.<BR>&gt; 
&gt;<BR>&gt; &gt; Thank you for the suggestion though. I'm willing to try 
anything. I<BR>&gt; &gt; hope that it is not something so simple that I'll feel 
really stupid<BR>&gt; &gt; when I find it. :-)<BR>&gt; &gt;<BR>&gt; &gt; 
Regards,<BR>&gt; &gt; Sue T. Doughty<BR>&gt; &gt; SAP Workflow 
Specialist<BR>&gt; &gt; Old Dominion Freight Line, Inc.<BR>&gt; &gt; 500 Old 
Dominion Way<BR>&gt; &gt; Thomasville, NC 27360<BR>&gt; &gt; Phone: (336) 
822-5189<BR>&gt; &gt; Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; &gt; Email: 
sue.doughty@odfl.com<BR>&gt; &gt;<BR>&gt; &gt; -----Original 
Message-----<BR>&gt; &gt; From: sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] On<BR>&gt; Behalf<BR>&gt; &gt; Of Mike 
Pokraka<BR>&gt; &gt; Sent: Wednesday, February 27, 2008 12:13 PM<BR>&gt; &gt; 
To: SAP Workflow Users' Group<BR>&gt; &gt; Subject: RE: Condition step not 
working in Workflow<BR>&gt; &gt;<BR>&gt; &gt; Hmm, not too sure then. I thought 
I'd mention as it would be worth<BR>&gt; &gt; checking. Also make sure your data 
type is valid for the values. Try<BR>&gt; &gt; changing it to SY-INPUT just to 
make sure.<BR>&gt; &gt;<BR>&gt; &gt; On Wed, February 27, 2008 4:11 pm, Sue 
Doughty wrote:<BR>&gt; &gt;&gt; Hi Mike,<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
Thanks for your reply.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; I am not using a result 
parameter even though I tried that when it<BR>&gt; did<BR>&gt; &gt;&gt; not work 
the way I had it at first. Neither way works. I can see in<BR>&gt; &gt;&gt; the 
workflow log that my export parameter (ImageFound) is being<BR>&gt; &gt;&gt; 
populated with the correct 'T' or 'F' value, but the Results<BR>&gt; &gt; 
processing<BR>&gt; &gt;&gt; step is not being executed with an F value - it only 
executes when<BR>&gt; the<BR>&gt; &gt;&gt; export parameter contains a 'T' 
value.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; I can't use a virtual attribute because 
the input parameters to the<BR>&gt; &gt;&gt; method change with each call to the 
method (i.e., doctype and<BR>&gt; &gt;&gt; imagedate).<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;&gt; Regards,<BR>&gt; &gt;&gt; Sue T. Doughty<BR>&gt; &gt;&gt; SAP Workflow 
Specialist<BR>&gt; &gt;&gt; Old Dominion Freight Line, Inc.<BR>&gt; &gt;&gt; 500 
Old Dominion Way<BR>&gt; &gt;&gt; Thomasville, NC 27360<BR>&gt; &gt;&gt; Phone: 
(336) 822-5189<BR>&gt; &gt;&gt; Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; 
&gt;&gt; Email: sue.doughty@odfl.com<BR>&gt; &gt;&gt; -----Original 
Message-----<BR>&gt; &gt;&gt; From: sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] On<BR>&gt; &gt; Behalf<BR>&gt; &gt;&gt; Of Mike 
Pokraka<BR>&gt; &gt;&gt; Sent: Wednesday, February 27, 2008 10:44 AM<BR>&gt; 
&gt;&gt; To: SAP Workflow Users' Group<BR>&gt; &gt;&gt; Subject: Re: Condition 
step not working in Workflow<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Hi Sue,<BR>&gt; 
&gt;&gt; Are you using a standard return parameter or a result 
parameter?<BR>&gt; &gt;&gt; ("Result<BR>&gt; &gt;&gt; parameter" checkbox on 
your method properties).<BR>&gt; &gt;&gt; Result parameters behave differently, 
T/F must be defined within the<BR>&gt; &gt;&gt; data<BR>&gt; &gt;&gt; dictionary 
and become separate outcomes of the method.<BR>&gt; &gt;&gt; Also, perhaps a 
virtual attribute might be easier if this is all that<BR>&gt; &gt;&gt; 
the<BR>&gt; &gt;&gt; method does...<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
Cheers,<BR>&gt; &gt;&gt; Mike<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; On Tue, February 
26, 2008 5:06 pm, Sue Doughty wrote:<BR>&gt; &gt;&gt;&gt; We are on 4.7, ECC 
6.0<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; I have a sub-workflow that executes a loop until a result flag 
is<BR>&gt; set<BR>&gt; &gt;&gt; to<BR>&gt; &gt;&gt;&gt; T. It executes a method 
that reads a table with some information.<BR>&gt; &gt; If<BR>&gt; &gt;&gt;&gt; 
the record is found, the result is set to T, if not it is set to F<BR>&gt; &gt; 
and<BR>&gt; &gt;&gt;&gt; the result container is set in the method. The next 
step is a<BR>&gt; &gt;&gt; condition<BR>&gt; &gt;&gt;&gt; to check the result. 
If T, the loop and sub-workflow are completed,<BR>&gt; &gt;&gt; if<BR>&gt; 
&gt;&gt;&gt; F, it waits and tries again after five minutes.<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; My 
problem: If the method executes and the result is T, the<BR>&gt; 
workflow<BR>&gt; &gt;&gt;&gt; works as designed. If the method returns a result 
of F, the<BR>&gt; workflow<BR>&gt; &gt;&gt;&gt; stops at that step and does not 
move to the condition step to check<BR>&gt; &gt;&gt; the<BR>&gt; &gt;&gt;&gt; 
result.<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; I can see that the method is returning the result container. If 
the<BR>&gt; &gt;&gt;&gt; Result = T, I can see that the Result container is sent 
back to the<BR>&gt; &gt;&gt;&gt; sub-workflow. When I look at the step in the 
log, it says that the<BR>&gt; &gt;&gt;&gt; background item was created, started, 
work item processing is<BR>&gt; &gt; complete<BR>&gt; &gt;&gt;&gt; and the 
result processing is done with no errors.<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; If the Result is F, I can 
see that the method is returning the<BR>&gt; result<BR>&gt; &gt;&gt;&gt; 
container, but the workflow container does NOT get set to the<BR>&gt; 
Result.<BR>&gt; &gt;&gt;&gt; When I look at the step in the log, it says that 
the background item<BR>&gt; &gt;&gt; was<BR>&gt; &gt;&gt;&gt; created; started 
and work item processing is complete with no<BR>&gt; errors,<BR>&gt; 
&gt;&gt;&gt; BUT the Result Processing is NOT done.<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; What am I missing? Why is 
the Result processing being done for one<BR>&gt; &gt;&gt;&gt; result but not the 
other?<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; Regards,<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Sue T. 
Doughty<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; SAP Workflow 
Specialist<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Old Dominion Freight Line, 
Inc.<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; 500 Old Dominion Way<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Thomasville, NC 27360<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Phone: (336) 822-5189<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Toll Free (800 ) 432-6335, ext. 5189<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; Email: sue.doughty@odfl.com<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;&gt; 
****************************<BR>&gt; &gt;&gt;&gt; CONFIDENTIALITY NOTICE: The 
information contained in this message<BR>&gt; may<BR>&gt; &gt;&gt; be<BR>&gt; 
&gt;&gt;&gt; confidential, privileged, proprietary, or otherwise legally 
exempt<BR>&gt; &gt;&gt; from<BR>&gt; &gt;&gt;&gt; disclosure. If the reader of 
this message is not the intended<BR>&gt; &gt;&gt; recipient,<BR>&gt; 
&gt;&gt;&gt; or an employee or agent responsible for delivering this message 
to<BR>&gt; &gt; the<BR>&gt; &gt;&gt;&gt; intended recipient, you are hereby 
notified that you are not<BR>&gt; &gt;&gt; authorized to<BR>&gt; &gt;&gt;&gt; 
read, print, retain, copy or disseminate this message, any part of<BR>&gt; &gt; 
it,<BR>&gt; &gt;&gt; or<BR>&gt; &gt;&gt;&gt; any attachments. If you have 
received this message in error, please<BR>&gt; &gt;&gt; delete<BR>&gt; 
&gt;&gt;&gt; this message and any attachments from your system without 
reading<BR>&gt; the<BR>&gt; &gt;&gt;&gt; content and notify the sender 
immediately of the inadvertent<BR>&gt; &gt;&gt; transmission.<BR>&gt; 
&gt;&gt;&gt; Thank you for your cooperation.<BR>&gt; &gt;&gt;&gt;<BR>&gt; 
&gt;&gt;&gt; _______________________________________________<BR>&gt; 
&gt;&gt;&gt; SAP-WUG mailing list<BR>&gt; &gt;&gt;&gt; SAP-WUG@mit.edu<BR>&gt; 
&gt;&gt;&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
_______________________________________________<BR>&gt; &gt;&gt; SAP-WUG mailing 
list<BR>&gt; &gt;&gt; SAP-WUG@mit.edu<BR>&gt; &gt;&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;&gt;<BR>&gt; &gt;&gt; ****************************<BR>&gt; &gt;&gt; 
CONFIDENTIALITY NOTICE: The information contained in this message may<BR>&gt; 
&gt; be<BR>&gt; &gt;&gt; confidential, privileged, proprietary, or otherwise 
legally exempt<BR>&gt; &gt; from<BR>&gt; &gt;&gt; disclosure. If the reader of 
this message is not the intended<BR>&gt; &gt; recipient,<BR>&gt; &gt;&gt; or an 
employee or agent responsible for delivering this message to<BR>&gt; the<BR>&gt; 
&gt;&gt; intended recipient, you are hereby notified that you are not<BR>&gt; 
&gt; authorized to<BR>&gt; &gt;&gt; read, print, retain, copy or disseminate 
this message, any part of<BR>&gt; it,<BR>&gt; &gt; or<BR>&gt; &gt;&gt; any 
attachments. If you have received this message in error, please<BR>&gt; &gt; 
delete<BR>&gt; &gt;&gt; this message and any attachments from your system 
without reading the<BR>&gt; &gt;&gt; content and notify the sender immediately 
of the inadvertent<BR>&gt; &gt; transmission.<BR>&gt; &gt;&gt; Thank you for 
your cooperation.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
_______________________________________________<BR>&gt; &gt;&gt; SAP-WUG mailing 
list<BR>&gt; &gt;&gt; SAP-WUG@mit.edu<BR>&gt; &gt;&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;<BR>&gt; &gt;<BR>&gt; &gt; 
_______________________________________________<BR>&gt; &gt; SAP-WUG mailing 
list<BR>&gt; &gt; SAP-WUG@mit.edu<BR>&gt; &gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;<BR>&gt; 
&gt;<BR>&gt; &gt; ****************************<BR>&gt; &gt; CONFIDENTIALITY 
NOTICE: The information contained in this message may<BR>&gt; be<BR>&gt; &gt; 
confidential, privileged, proprietary, or otherwise legally exempt<BR>&gt; 
from<BR>&gt; &gt; disclosure. If the reader of this message is not the 
intended<BR>&gt; recipient,<BR>&gt; &gt; or an employee or agent responsible for 
delivering this message to the<BR>&gt; &gt; intended recipient, you are hereby 
notified that you are not<BR>&gt; authorized to<BR>&gt; &gt; read, print, 
retain, copy or disseminate this message, any part of it,<BR>&gt; or<BR>&gt; 
&gt; any attachments. If you have received this message in error, please<BR>&gt; 
delete<BR>&gt; &gt; this message and any attachments from your system without 
reading the<BR>&gt; &gt; content and notify the sender immediately of the 
inadvertent<BR>&gt; transmission.<BR>&gt; &gt; Thank you for your 
cooperation.<BR>&gt; &gt;<BR>&gt; &gt; 
_______________________________________________<BR>&gt; &gt; SAP-WUG mailing 
list<BR>&gt; &gt; SAP-WUG@mit.edu<BR>&gt; &gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;<BR>&gt; <BR>&gt; 
<BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing 
list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; <BR>&gt; <BR>&gt; 
****************************<BR>&gt; CONFIDENTIALITY NOTICE: The information 
contained in this message may be<BR>&gt; confidential, privileged, proprietary, 
or otherwise legally exempt from<BR>&gt; disclosure. If the reader of this 
message is not the intended recipient,<BR>&gt; or an employee or agent 
responsible for delivering this message to the<BR>&gt; intended recipient, you 
are hereby notified that you are not authorized<BR>&gt; to read, print, retain, 
copy or disseminate this message, any part of<BR>&gt; it, or any attachments. If 
you have received this message in error,<BR>&gt; please delete this message and 
any attachments from your system without<BR>&gt; reading the content and notify 
the sender immediately of the inadvertent<BR>&gt; transmission. Thank you for 
your cooperation.<BR>&gt; <BR>&gt; 
_______________________________________________<BR>&gt; SAP-WUG mailing 
list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; <BR>&gt; <BR>&gt; 
<BR>&gt; ------------------------------<BR>&gt; <BR>&gt; 
_______________________________________________<BR>&gt; SAP-WUG mailing 
list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; <BR>&gt; <BR>&gt; End of 
SAP-WUG Digest, Vol 39, Issue 78<BR>&gt; 
***************************************<BR><BR><BR>
<HR>
Express yourself instantly with MSN Messenger! <A 
href="http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/" target=_new>MSN 
Messenger</A> </BODY></HTML>