Workflow failure on a user decision step

Michel Laviolette michel_laviolette at hotmail.com
Wed Mar 28 11:48:42 EST 2001


In a desperate attempt to get feedback on a note I posted earlier, I will
rephrase my question. I would really appreciate any help anyone can offer
(thanks in advance).
 
We are using an absence/attendance workflow in a 40b environment.
 
Has anyone come across a scenario where a workflow is sent to a selected
agent but this agent does not have the proper authorizations to action the
workitem? What happens to the workflow when the selected agent attempts to
action the workitem?
 
Our specific problem goes as follows:
 
An employee puts in a leave/attendance request. The selected agent (chief)
is determined via the standard role 157. The workitem shows up in the
chief's inbox. Not knowing that he/she does not have the proper HR
authorizations, the chief executes the workitem. The next step should be the
'Absence.display' method on a user decision (Approve or Reject). This step
is not displayed! Instead, the user decision 'Approved' is defaulted. As a
result, the workflow forks out to the 'Approved' branch attempting to unlock
the employee's HR leave record. This fails and generates a workflow error
(Workflow approval process: Response nnnn suspended as workflow has error
status). At this point, we fix the authorization problem. The chief goes
back to his inbox and sees the request. When it is executed, workflow picks
up on the unlock step skipping the user decision step  not allowing the
chief to Approve or Reject the request (workflow assumes that it's  been
approved already).
 
I looked at OSS but couldn't find anything.
 
ANY help would be MUCH appreciated.
 
Thanks in advance,
Michel Laviolette
ABAP Technical Team/Workflow Administrator/Developper
Canadian International Development Agency
Hull, Quebec Canada
 
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
 


More information about the SAP-WUG mailing list