SAP Knowledge Base Article - Public

2956297 - "Cannot read property 'getData' of undefined" in Rules - Recruiting Management

Symptom

When openning Manage Rules in Recruiting and selecting a template, the following error appears: "Cannot read property 'getData' of undefined".

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

  1. Open Manage Rules in Recruiting;
  2. Select the where you would like to manage (Job Requisition, Offer Detail, Candidate or Job Application);
  3. Select the template from the Drop Down;
  4. Error appears:

Cause

This is caused by a rule assigned to a field that no longer exists on the template.

Resolution

To identify where the problem is to resolve, we need to first identify what rules are assigned and to what:

  1. first, open Configure Business Rules;
  2. Inside it, filter by the proper Scenario;
  3. On the rules that appaer for your scenario, check the rules that are assigned, on the Assigned column;

Now that we confirmed there are rule assigned, we need to do the following steps:

  1. go back to Admin Center, and open Manage Data;
  2. On the search, select Recruiting Rules Assignment Configuration and on the field right next to it select the Configuration Type(JOB_REQUISITION, JOB_APPLICATION, CANDIDATE_DETAIL or OFFER_DETAIL);
  3. Inside this object you will see all the associated rules that you have for this category and the template associated;
  4. On the top right corner, click on Take Action -> Make Correction;
  5. On the rule that needs to be removed, click on the Trash Icon and Save at the bottom;

This is going to remove the rule association to the non existing field.

Keywords

rule, error, cannot, read, property, getData, undefined, rules, manage, recruiting, template, open, requisition, application, candidate, offer , KBA , LOD-SF-RCM-RUL , Recruiting Rule Issues with MDF Platform , Problem

Product

SAP SuccessFactors Recruiting all versions