Symptom
- The rule was executed to get the value of Today's date using "Today()" function. The date retrieved is one day earlier or one day later than the actual date.
- What is the Time zone referred for "Today()" function in SAP SuccessFactors MDF Business Rules?
Environment
SAP SuccessFactors HCM Core
Reproducing the Issue
- Navigate to SAP SuccessFactors Business Rules.
- Search for a rule which utilized the function of "Today()"
- Trigger the rule execution by changing or saving the MDF data
- Download the rule trace execution log details via "Manage Data"
- In the log, the date retrieved by "Today()" function is different with the current date
Cause
The time zone set in the instance is different with the user's local time zone
Resolution
The time zone for the "Today()" function is based on the Tenant Preferred Time zone (TPT) in "Platform Feature Settings".
Please navigate to "Platform Feature Settings" and modify the Tenant Preferred Time zone in your instance.
For more details about Tenant Preferred Time zone, please refer to the following KBA.
3319478 - Preferred Tenant Time Zone
See Also
3319478 - Preferred Tenant Time Zone
Keywords
SAP SuccessFactors, Business Rules, Today(), Standard Time, Platform Feature, Preferred Time Zone. , KBA , LOD-SF-MDF-RUL , Custom Oject based Business Rules , Problem