Symptom
- "You do not have the necessary permission" application error when accessing the workflow from Approve Requests tile.
- "You are not authorised to perform this action" when trying to approve the workflow from "My Workflow Requests" page.
- No To Do requests find under Approves Requests tile, where as one request pending and can be seen in View my pending requests page.
Environment
SAP SuccessFactors Employee Central - Workflows
Reproducing the Issue
- Configure workflow with Dynamic group as step approver.
- Initiate the workflow.
- Go the Dynamic group, remove one approver and add a new approver.
- Proxy as old approver who got removed from dynamic group in above step and try to access the workflow - Error will be displayed "You do not have the necessary permission".
- Try to approver the workflow -error message will be displayed "You are not authorized to perform this action".
- Proxy as new approver added in step 3 and check the To Do tile - request not present. Check in "View my pending requests page", request is visible.
Cause
This is expected behavior as per current design.
If you configure Workflow with Step approver other than Role - Self, Role - Manager, Role - Manager's Manager, Dynamic Role with approver type Person. If Dynamic Approver changes, like Custom Manager changes from user A to user B, or Dynamic Group removes member C and add member D, the expected behavior is for users A and C to still see the To-Do items, but no access to the Workflow itself; users B and D will not see the To-Do items,, but will be able to find and access the workflow from View My Pending Requests page.
Resolution
Once the workflow is completely approved, these incorrect To Dos will be removed if any pending To Dos exists can be cleaned with Check tool. Please refer to KBA : 2908724 - b2005 - Workflow to Support Quick Fix in Check Tool Feature
Keywords
permission error when accessing workflow, not authorised to approve workflow, no todo found, Approve Request Missing, No requests to approve, Matrix Manager, Custom Manager, Second Manager, Dynamic Role, Dynamic Group, Position, Position Relationship , KBA , LOD-SF-EC-WFL-RUT , Workflow Routing, Dynamic Roles & Groups , LOD-SF-EC , Employee Central , Problem