Agent determination AC00000168

Kimball, Schuyler schuyler.kimball at sap.com
Wed Oct 22 23:17:10 EDT 2008


Hi Andy,
You've asked a very good question, and it's one that seems to come up on
almost every workflow project.  There are several ways you might want to
do the type of checking that you're asking about.  
 
One approach would be: if the person submitting the expenses for
approval is already known at the time the workflow is to be triggered,
you can write a check function module to see if the approval workflow is
needed.  If it is not needed, raise an exception and the workflow will
not be launched.  
 
On the other hand, if that person isn't known when the workflow starts,
you could do the same thing later on, using an attribute or functional
method that returns a result (e.g. 'X' = do the approval, SPACE = skip
the approval).  You'd use that result in a condition that you configure
on the Conditions tab page of the approval step.  
 
Best regards,
 
Sky Kimball
SAP America, Inc.

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Andy Curtis
Sent: Wednesday, October 08, 2008 7:41 AM
To: SAP Workflow Users' Group
Subject: Agent determination AC00000168


We use rule AC00000168 to find a Chief to Approve expenses, so when the
'top chief' (the big chief), submits expenses the wf goes into error as
he does not have a chief!  Anyone got a novel/innovative solution for
this?
 
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20081022/dca78ebf/attachment.htm


More information about the SAP-WUG mailing list