Dynamic Role in the workflow shows one person when there are more than one person maintained.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
SAP SuccessFactors Employee Central
Reproducing the Issue
- Create a Dynamic Role where two or more conditions are same (here, Business Unit for two entries are ACE_SVCS).
- Create a Workflow with one of the approver as Dynamic Role.
- Navigate to Employee’s Employment Information and Take Action to change Job and Compensation Information. Select Job Information to Make Job Information changes.
- Make the necessary changes and click on Submit. The Workflow associated to the changes (here Data Change Workflow) would trigger. Click to view workflow participants.
The workflow would show the first match available for the Dynamic Role (here Enzo Manassero). The second match in the Dynamic Role (here Alex Anderson) is not displayed as an approver.
In the Dynamic Role, if the same condition matches for different approvers (here same Business unit for two different approvers), the system picks the first in the match. The system checks for the “If” condition (here Business Unit) and when it achieves the first match it skips.
This is a system expected behavior. The system picks the first in the match.
If none of the conditions are met in the dynamic role, then the approver step is skipped.
To prevent this form happening you could add a "catch all" dynamic group, to ensure that this approver step is triggered to a permission group if all other conditions fail.
Workflow, Dynamic Role, Employee Central , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , Problem