Symptom
In Time off UI, while requesting absence the take rules are triggered before custom mandatory fields are filled.
Environment
SAP SuccessFactors Employee Central - Time Off
Reproducing the Issue
- Configure custom mandatory field(s) in Employee Time object.
- Navigate to Time Off ESS UI
- Create an absence -> Enter Time Type
- Before 2H 2023 - The Take Rules validations (error/warning/info) are displayed only after all the mandatory custom fields are filled in with a value.
- After 2H 2023 - The Take Rules validations (error/warning/info) are displayed, before the mandatory custom fields are not filled in with a value.
Resolution
- This is expected behaviour, and as per design from 2H 2023 release.
- The Take Rules are triggered even if the mandatory custom fields are not filled in with a value.
- Note: If the custom field value is used in the take rule, make sure to add an additional IF condition in the rule (to raise an info/warning/error message), if the field is not set with a value during absence request. If not, you may get an error such as "...mandatory fields not filled. Please check rule definition"
See Also
Keywords
2H 2023, Time off, take rule, custom, mandatory, field, conditional, rule, mandatory fields not filled, Please check rule definition, WEF-18509 , KBA , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , Product Enhancement
Product
SAP SuccessFactors Employee Central 2311