Symptom
Users want to utilize business rule to raise an alert message and prevent users from saving invalid value.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Create a Raise Message action to raise an Error message if "Base Salary" is lease than 20000 for example:
- Associate the rule to an Offer Detail Template as onChange trigger:
- On Offer Detail form, enter "1" in "Base Salary" field:
- The error message pops up:
- However, if you click on "OK", the value won't be removed. And the form could be saved without any errors.
- "Base Salary" field still shows as "1" which is not a valid value
Cause
A Raise Error message will not prevent saving the changes
Resolution
- Add a "set" action in the Raise Message rule to set the "Base Salary" field to "null" after raising the error message:
- The field becomes blank after raising the error message so that users have to provide a valid value:
Keywords
onSave, Raise Message, Business Rule, onChange, cannot proceed further, cannot save , KBA , LOD-SF-RCM-RUL , Recruiting Rule Issues with MDF Platform , How To
Product
SAP SuccessFactors Recruiting all versions
SAP Knowledge Base Article - Public