SAP Knowledge Base Article - Public

2827485 - Time Sheet Pending Workflows Are Cancelled By System

Symptom

In some scenarios if there is any time sheet requests that are pending approval, they are being canceled by System System overnight.

Environment

SAP SuccessFactors Employee Central - Time Sheet

Reproducing the Issue

  1. pick any employee.
  2. submit a time sheet.
  3. do not approve it.
  4. over the night the pending workflow will be canceled automatically.

Cause

  • You have at least one valuation where Valuation Method is "Valuate Up To Today".
  • When you have a valuation 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 system system canceled the workflow TIM-9472 , KBA , LOD-SF-EC-TMS , Time Sheet , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HXM Core all versions