Symptom
- An issue occurs when attempting to delete a workflow group in SAP SuccessFactors Employee Central.
The error message displayed is:
"Unable to delete the permission group that is used in existing permission roles. Before deleting the permission group, remove it from associated roles. To check the associated roles, see the 'Granted Permission Roles' tab of the permission group details page."
Although the group may appear removed from Dynamic Role assignments and Role-Based Permissions (RBP), the error persists.
Environment
SAP SuccessFactors Employee Central
Reproducing the Issue
- Access "Manage Workflow groups"
-
Search for the relevant workflow group
-
Attempt to delete the group
-
Receive the error message preventing deletion:
Cause
The workflow group is still referenced by one or more Dynamic Roles, preventing its deletion.
Resolution
-
Identify any Dynamic Role(s) still referring to the workflow group.
-
Update or delete the references to the workflow group within those Dynamic Roles.
-
Retry deleting the workflow group after clearing those associations.
Note: If you encounter an error stating that a workflow group cannot be deleted because it is still referenced by a Dynamic Role, even though it appears removed from Role-Based Permissions (RBP), please note the following:
-
Open the relevant Dynamic Role that references the workflow group.
-
Click Edit and check the Resolver Type setting.
-
If the Resolver Type is set to Dynamic Group, the workflow group will still be shown as assigned.
-
To resolve this, delete the current assignment and reassign it using the Person Resolver Type, selecting the appropriate user.
-
This occurs because Dynamic Roles cache the approver type value, causing references to persist even after changes.
After updating the Dynamic Role assignments as described, you should be able to delete the workflow group successfully.
See Also
3225627 - Unlock Dynamic Group in Manage Workflow Group - SAP for Me
2899566 - Receiving "Invalid Group Detected" when editing Permission Groups - SAP for Me
Keywords
workflow group deletion, unable to delete workflow group, permission group error, dynamic role association, SAP SuccessFactors Employee Central, role-based permissions, workflow group linked to roles, deleting permission groups, permission roles dependency, workflow group removal issue, Unable to delete the permission group that is used in existing permission roles. Before deleting the permission group, remove it from associated roles. To check the associated roles, see the “Granted Permission Roles” tab of the permission group details page. , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , Problem