Symptom
Requirement is to not trigger a worklfow on submit of time sheet when the recorded hours are same as that of the work schedule.
Environment
SAP SuccessFactors Employee Central - Time Sheet
Reproducing the Issue
- Work Schedule of employee is 8 hours per day.
- Workflow Rule has been assigned to the object 'Employee Time Sheet'.
- In the Time Sheet UI, the employee records 8 hours every day and clicks on Submit. It is then sent for workflow.
- Requirement is that only if there is a deviation of recorded hours from work schedule, the workflow sholud be triggered.
Resolution
- There is a field in the ‘Employee Time Sheet’ object (introduced in 1811) named ‘Full Work Schedule Covered’.
- If the value of this field is set to ‘Yes’ then it means that the time sheet is as per the work schedule and no deviations.
- So in the workflow rule assigned to the Employee Time Sheet object, add a condition that IF ‘Full Work Schedule Covered’ is equal to ‘Yes’ THEN no workflow else trigger a workflow.
- More details of this field(s) can be found in the KBA 2711871 - Employee Time Sheet Object Attributes For Data contained In Time Sheet .
See Also
Keywords
Time Sheet Full Work Schedule Covered Workflow Approve , KBA , LOD-SF-EC-TMS , Time Sheet , How To
Product
SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions