Workflow -> Task Bindings and user authorizations

michael.mcley@daimler.com michael.mcley at daimler.com
Wed Feb 9 12:20:03 EST 2011


Hello Wuggers,

I'm stumped. 

Background:
We are using a workflow for the approvals of travel requests.  One of the 
steps is that if an approver rejects a travel request, an SAP mail is sent 
to the requestor with some text explaining why.

Issue:
The SAP Mail reciepient is the user ID of the requestor, which is 
contained in a WORKFLOW container element at the start of the workflow. 
This WORKFLOW container element is passed into the TASK container through 
a standard binding.  So far a no-brainer.

As of about August last year, most of these send mail tasks started going 
into error (most - not all).  A review of the logs of successful and 
error-ed tasks (and the task program, etc...) shows the reason for the 
error is that the task container element which is used in the task to 
determine the reciepient of the mail is not being populated, although the 
source element in the workflow container has a value.

Some Hints:
At about exactly the same time, we underwent a complete overhaul of our 
user authorization scheme.  Additionally, the send mail task (for some 
strange reason) is not a background task, although there is no user 
interface.

----------------------------
It seems to me that our authorization project has somehow caused this 
binding to break in most (but not all) instances, but up to this point, I 
did not think that user auths had any effect on workflow -> task bindings, 
even if the step is not background.  Am I wrong to assume this?

Any help or hints would be appreciated.  Thx.


 
Michael McLey 
MBUSI - IT Parts & Administration 
Mercedes-Benz US International, Inc. 
1 Mercedes Drive 
Vance, AL 35490 
PHONE:  (205) 462 - 5239 
EMAIL:   michael.mcley at daimler.com   

If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110209/48b7aaa2/attachment.htm


More information about the SAP-WUG mailing list