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:
- Workflow to Add Global Assignment: "Source" is from home assignment and "Target" is the host assignment;
- Workflow to Edit or End Global Assignment:: "Source" is the host assignment and "Target" is the home assignment.
Note: When adding a new Global Assignment, if the Job Relationships are not configured and there are workflow steps with Job Relationship as "Target", the system will automatically select the host job relationship.
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