Condition step not working in Workflow

Mike Pokraka wug at workflowconnections.com
Wed Feb 27 10:43:54 EST 2008


Hi Sue,
Are you using a standard return parameter or a result parameter? ("Result
parameter" checkbox on your method properties).
Result parameters behave differently, T/F must be defined within the data
dictionary and become separate outcomes of the method.
Also, perhaps a virtual attribute might be easier if this is all that the
method does...

Cheers,
Mike

On Tue, February 26, 2008 5:06 pm, Sue Doughty wrote:
> We are on 4.7, ECC 6.0
>
>
>
> I have a sub-workflow that executes a loop until a result flag is set to
> T.  It executes a method that reads a table with some information.  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.  The next step is a condition
> to check the result.  If T, the loop and sub-workflow are completed, if
> F, it waits and tries again after five minutes.
>
>
>
> My problem:  If the method executes and the result is T, the workflow
> works as designed.  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.
>
>
>
> I can see that the method is returning the result container.  If the
> Result = T, I can see that the Result container is sent back to the
> sub-workflow.  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.
>
>
>
> 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.
> 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,
> BUT the Result Processing is NOT done.
>
>
>
> What am I missing?  Why is the Result processing being done for one
> result but not the other?
>
>
>
> Regards,
>
> Sue T. Doughty
>
> SAP Workflow Specialist
>
> Old Dominion Freight Line, Inc.
>
> 500 Old Dominion Way
>
> Thomasville, NC 27360
>
> Phone:  (336) 822-5189
>
> Toll Free (800 ) 432-6335, ext. 5189
>
> Email:  sue.doughty at odfl.com
>
>
>
> ****************************
> 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.
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>





More information about the SAP-WUG mailing list