Symptom
How to set up a different workflow other than the approval workflow while cancelling a time off leave request.
"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 HCM Suite
- SAP SuccessFactors Employee Central - Time Off
Reproducing the Issue
- In Time Type configuration if the field 'Activate Cancellation Workflow' is set to Yes, then on cancelling an approved leave request the the same workflow which was triggered for the approval process will be followed.
- The requirement is to trigger a different workflow for the cancellation of leave.
Resolution
- Set the value of the field 'Activate Cancellation Workflow' in Time Type to 'Yes'.
- In the workflow rule attached to the Employee Time object, add conditions as shown in the below screenshot:
PLEASE NOTE: We do not recommend using the Approval Status in the workflow rule to determine the workflow configuration. The final approval status will be set only after the workflow rule has been triggered.
Keywords
Time off Leave Cancellation Workflow cancelling , KBA , LOD-SF-EC-TIM , Time Off , How To
Product
SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions