Support Article
Service level agent fails with authorization error
SA-21094
Summary
A user creates a work object and it is routed to a workbasket for completion. The user is not authorized to process assignments in the workbasket. When the service level rule is executed for the work object, the agent fails and a Broken-Process queue item is generated.
Error Messages
You are not authorized to open instance ASSIGN-WORKBASKET ORG-WORK W-1!ASSIGN
Steps to Reproduce
- Configure a work object with an overall SLA (service level agreement) that runs the resynchAssignmentUrgency activity.
- Create a work object and route it to a workbasket. The user should not have access to this workbasket.
- Wait for the agent to process the overall SLA.
Root Cause
The error occurs because the service level agent runs using the context of the user who created the work object. Since this user does not have access to the workbasket assignment, the authorization error occurs.
Resolution
Perform the following local-change: save the Assign-Workbasket canPerform When rule into your ruleset and modify it to allow access for the agent. You can do this by checking whether the pxRequestor.pxUserIdentifier is 'System' and updating the logic string accordingly.
Published March 23, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.