SAP Knowledge Base Article - Public

3419294 - Take Rules Are Triggered Before Custom Mandatory Fields Are Filled

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

  1. Configure custom mandatory field(s) in Employee Time object.
  2. Navigate to Time Off ESS UI
  3. 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

2792179 - Fiori Time Off ESS - Requesting Field Does not Become Editable Until all Custom Mandatory Fields are Filled

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