Symptom
When editing or saving a job application, it pops up a system error:
- errorMessage=f.setSelectedValue is not a function
- errorMessage=f.updateValue is not a function
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Open a Job Requisition and select a Job Application;
- Try to perform any change (onChange) or save changes (onSave);
- Application error will popup;
Cause
The possible cause for the error is with the custom business rule.
Resolution
A Business Rule set as OnChange is configured to set a value on a field that the user/operator does not have write permission. (If the operator doesn’t have both read and write permissions, no error will pop up, but it will not write the value into the field.)
If a business rule is configured to set a value, please make sure that the operator role has the write permission to edit the relevant field.
To confirm such problem, you can remove temporally the rule associated to the template on Manage Rules in Recruiting and perform the tests again. If the error doesn't happen, you can confirm that the problem is associated to the rule in question.
Keywords
f.setSelectedValue, job application, status, change field, onChange, onSave, business rule, Object doesn't support property or method 'setSelectedValue', f.updateValue is not a function , KBA , LOD-SF-RCM-APP , Applicants and Job Applications , LOD-SF-RCM-RUL , Recruiting Rule Issues with MDF Platform , Problem