SAP Knowledge Base Article - Public

3504270 - "errorMessage=n is undefined" occurred when editing a field that triggers onChange business rule - Recruiting Management

Symptom

  • An application error occurred when onChange business rule was triggered.
  • errorId=null, timestamp=null, errorMessage=n is undefined

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

  1. Open a job requisition.
  2. Edit a field that triggers an onChange business rule.
  3. An application error pops up.

Cause

A rule is configured to edit a field that cannot be edited by the user/operator. The onChange Business Rule does not work for Read-Only fields.

Resolution

Go to Admin Center > Manage Rules in Recruiting to review the Field Change Rules configured on the related pages. 

There are two solutions to this issue:

  • Option 1: Remove the business rule from "Field Change Rules" (onChange) and add it to "Save Rules" (onSave) instead.
  • Option 2: Grant the write permission to the user/operator to enable editing of the target field configured in the business rule.

See Also

KBA 3005834 - OnChange Business Rule not Working for Read-Only Fields - Recruiting Management

Keywords

RCM, application error, business rule, errorId, job requisition, change, operator, edit , KBA , LOD-SF-RCM-RUL , Recruiting Rule Issues with MDF Platform , LOD-SF-RCM-JOB , Job Postings & Requisitions , Problem

Product

SAP SuccessFactors Recruiting all versions