Symptom
- Workaround of KBA: 2601695 - "onSave" trigger for RCM not working
- Rules having Raise Message action are not executed on onSave trigger in RCM
- 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 meessage if "Base Salary" is lease than 20000
- 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
- Due to the current system behavior, rules having Raise Message action are not executed on onSave trigger in RCM as it is not supported.
- onChange rule can be used to raise an Error message instead, but it won't 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
See Also
Keywords
onSave, Raise Message, Business Rule, onChange , KBA , LOD-SF-RCM-RUL , Recruiting Rule Issues with MDF Platform , How To
Product
SAP SuccessFactors Recruiting all versions