Symptom
You would like the ability to assign multiple workflows to a particular Time Type, depending on certain conditions. However, on the Time Type itself, there is only an option to assign one workflow if the user requests leave, and another for when an admin requests Time Off;
Example requirement:
If user belongs to company X, then trigger 'workflow1', Else if user belongs to company Y, trigger workflow2.
Environment
- SAP SuccessFactors Employee Central
- SAP SuccessFactors HXM Suite
Resolution
The fields 'Workflow Configuration' and 'Admin Workflow' on the Time Types should be filled with any workflow configuration. This is needed to ensure that the workflow rule is considered. After doing so, assign a onSave rule on Employee Time object, as per the needed conditions;
Now you can use the rule to decide, which workflow should be triggered in which scenario. You can either choose the workflow configuration of the Time Type fields or you directly choose a workflow configuration in the rule.
See Also
Keywords
time off workflow FAQ, assign multiple workflows in time off, trigger more than one workflow for time type, workflow, time off, how to , KBA , LOD-SF-EC-TIM-WAN , Workflows - Alerts - Notifications , Problem