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:
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."
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
- Create a business rule that raises an error or a warning
- 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