When we trigger wf WS20000081. We encounter this error 'The following error occurred in the workflow above: Workflow...
no. 387118 step 263: Error or exception resolving role 'AC60100010' 010' Please repair the suspended workflow' when there is not enough qouta for the employee. The workflow is not able to find the HRAdmin. How can we solve this problem?
This question is quite specific. However, it does raise the issue of role resolution using Responsibilities. What we need to remember is that when we assign a responsibility to a role we are creating an Infotype. It is important to check that the responsibilities (infotypes) have an end date is greater then today. If this is not true, then the role resolution will fail as no current responsibilities exist.
The other thing you should is test the Role using transaction PFAC_DIS. Once you display the role select the ?Simulate Role Resolution? button and enter the values for the container elements. Make sure that these are identical to the values in your workflow container.
A colleague of mine back in Australia, uses a handy little trick which I like. He always creates a 'catch all' Responsibility. This is usually done by defining the last Responsibility with * (all values) in the Responsibility definitions. The positive aspect of this is that regardless of what is entered into the container, the Role will at least always be resolved to that Organization Object. The downside to this is that the Role will always resolve to this and that position (or whatever Org Object is assigned) will always receive a Work Item.
Dig Deeper on SAP workflow development
Related Q&A from Alon Raskin
An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other users.continue reading
Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients.continue reading
A SearchSAP.com reader wants to know how to hide the forward button in an SAP Business Workplace toolbar.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.