SAP Knowledge Base Article - Public

2787674 - b1905 - Validation to Restrict Rule Assignment raising Error/Warning in Employee Time object

Symptom

You're trying to add a business rule that throws an error or a warning under Initialize/Validate/Save/Post Save Rules in the employee time object definition. For example:

TIM-7421 testing-1.png

However, you are unable to save the change(s) because of the following error: "You are not allowed to assign business rules that raise an error or warning message. Please unassign these rules (rule name) from the Employee Time object definition. For validations, you can assign Take rules to a time type."

tim-7421 testing-2.png

Images/data in this KBA are from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors Employee Central
  • SAP SuccessFactors Employee Central Time Off 

Reproducing the Issue

  1. Create a business rule that raises an error or a warning
  2. Add it under Initialize/Validate/Save/Post Save Rules in the employee time object definition

Resolution

Starting in 1905, validation is added to restrict users from adding rules that raise an error or a warning in the employee time object definition. For absence validation, please consider configuring and adding Take Rules in the Time Types instead. You may refer to the Adding Additional Validation Checks for Leave Requests section of the Employee Central Time Off Implementation guide for more details.

Keywords

TIM-7941, "You are not allowed to assign business rules that raise an error or warning message", Time Off, business rules, Employee Time object definition, employee time , KBA , LOD-SF-EC-TIM , Time Off , LOD-SF-EC , Employee Central , Product Enhancement

Product

SAP SuccessFactors Employee Central 1905