Perform action IF Role Resolution Error

R Tannert tnn at ornl.gov
Thu Sep 20 08:16:51 EDT 2001


Jody,
 
Your technique sounds reasonable to me.  Another thing you could do
is to react to errors by sending e-mail, generating an event, or
initiating a workflow within a role-resolution module.  In my
purchase-requisition and PO workflows, for example, the
role-resolution module verifies that: (1) agents were selected; (2)
the positions selected are occupied by persons who are also SAP
users; and (3) all selected agents are authorized to execute the
release step.  If any of these tests fails, I send an e-mail message
to the workflow administrator, but I could just as easily generate an
event or initiate a workflow.
 
Even if you're using a delivered role-resolution module, you could
create your own role that incorporates a simple wrapper function to
call the delivered module and then perform any error processing you
wish.
 
Rob Tannert
 
>Cristy,
>
>I have had this same question in the past - mainly because we have
>situations in purchase requisition approvals where the role resolution will
>not find an agent to send to.  (This could be due to invalid info entered on
>the requisition by the user.)
>
>Since I am the WF administrator, I would like to also have the workflow take
>action on this, such as notifying the person entering the requisition.  As
>it stands, I get the error notifications in my Inbox and since it is not an
>error that I can resolve, it really does no good.
>
>I had this same question in my last training class (BC610), but was told
>that it could not be done.  The only thing I could think to do would be to
>set up a prior step that basically went through the same logic as the role
>resolution - if it couldn't find an agent, I could have the w/f branch
>accordingly before the work item was attempted.  This seems like a lot of
>work for something that should be an option otherwise, so I'm hoping someone
>has a different answer for you that I just haven't been able to find yet.
>
>Jody Chassereau
>drcakes at hotmail.com
>
>>From: Cristy Calhoun <cristy_calhoun at yahoo.com>
>>Reply-To: SAP Workflow Users' Group <SAP-WUG at MITVMA.MIT.EDU>
>>To: SAP-WUG at MITVMA.MIT.EDU
>>Subject: Perform action IF Role Resolution Error
>>Date: Wed, 19 Sep 2001 10:38:21 -0700
>>
>>Thanks to all who have helped me it the past.
>>
>>Now I have a new issue...
>>
>>Is there a way to perform an action (other than an
>>error to the WF Admin) if my role resolution doesn't
>>return an agent?
>>
>>I'd like to send a different workitem to the WF
>>Initiator if the role comes back negative.
>>
>>Thanks,
>>Cristy
>>
>>__________________________________________________
>>Terrorist Attacks on U.S. - How can you help?
>>Donate cash, emergency relief information
>>http://dailynews.yahoo.com/fc/US/Emergency_Information/
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
 


More information about the SAP-WUG mailing list