Service level agent fails with authorization error
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.
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.
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.
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.
50% found this useful