Symptom
The time sheet Workflow was pending approval, but got canceled by System System overnight.
Environment
SAP SuccessFactors Employee Central - Time Sheet
Reproducing the Issue
- Submit Time Sheet.
- Do not approve it.
- Over the night the pending workflow will be canceled automatically by System System.
Cause
Possible root cause:
You have at least one valuation where Valuation Method is "Valuate Up To Today". When using Valuation Method of type "Valuate Up To Today," the system will consider the current date in the valuation.
This means that if you have a Time Sheet submitted and a workflow approval is pending as of Thursday, when the midnight job (i.e 12:00 AM Friday) runs, this valuation will consider Friday (As the valuation method is valuate up to today).
As a result, the valuation will change and since the system recognizes a change in the valuation results, it automatically cancels the workflow so the time sheet can be submitted again to recalculate.
- How to determine which valuations are using this method if you have multiple assigned to the users Time Recording Profile:
Add "Valuationmethod" as a searchable field on the Time Valuation Object in Configure Object Definition.
Search in Manage Data > Time Valuation > "VALUATE_UNTIL_TODAY"
Resolution
This is considered for enhancement where the workflow is re-triggered by the job.
The enhancement ticket number is TIM-9472. It is currently in discussion and there is no fix date yet.
Workaround: Do not submit the timesheet until the week is over, or set "valuate per day" as the valuation method if this is suitable.
As long as the week is not over we don't have all valuation results at hand. Hence, the data might change when the weeks continue and will eventually lead to changes that need to be handled by the employee first.
This KBA will be update on the progress.
You may also reach out to your CSM to track the enhancement TIM-9472.
Keywords
time sheet recalculation, time sheet canceled time sheet cancelled system system cancelled workflow canceled workflow TIM-9472 , KBA , LOD-SF-EC-TMS , Time Sheet , Problem