Symptom
When a workflow is triggerd for a global assignment change and you have configured Dynamic Role HR in CC Role, source and target are reversed.
If Dynamic Role HR in CC Role is set to (Source), you will get the results for (target) and visa versa.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Employee Central
Reproducing the Issue
- Include Dynamic Role as a cc role in a workflow that triggers on editing a global assignment change
- Configure context to be source or target
- Edit the start/end date of a user on global assignmet
- You will notice that if context is set to source, you will get the result for target and visa versa
Cause
Working as designed.
Resolution
Source and Target can mean opposite things in different Global Assignment related workflows:
- For workflows where a global assignment is being added or edited, Source is the home manager and Target is the host manager
Note: During addition of a new Global Assignment if Job Relationships is not set and workflow steps are defined to a target job relationship system will pick the host job relationship. - For workflows where a global assignment is being ended: Source is the host manager and Target is the home manager.
See Also
Creating an Individual Workflow | SAP Help Portal
Keywords
Global Assignment, Workflow, Dynamic Role, workflow context, ECT-72900, target, host, home, job relationships, manager, GA, , KBA , LOD-SF-EC-GA , Global Assignment , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , Problem