Symptom
There is a onSave rule under personalInfo element (scenario = Basic/Trigger onSave rules for HRIS Elements) and is to generate name. But in Add new employee UI, the rule does not work as desired.
In rule log, it is said: Retrieved 'personalInfo.personInfo'. Value: 'null'.
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 Employee Central
Reproducing the Issue
-
Hire a new employee using the "Add New Employee" tool.
-
Click "Submit", and then review the personal information of the newly hired employee. It can be observed that the name is not generated according to the configured rule, contrary to the expected behavior.
-
Download the Rule Execution Log, where the following entry can be observed:
Retrieved 'personalInfo.personInfo'. Value: 'null'.
Cause
The rule does not work on the Add New Employee UI when the Rule Scenario is set to "Trigger onSave Rules for HRIS Elements". It only works on the Add New Employee UI when the Rule Scenario is set to "Rules for Hire/Rehire Processes".
Resolution
Create a new rule with the scenario "Rules for Hire/Rehire Processes" and the base object type "Employee Information Model". Ensure the rule is configured correctly and added to the "Manage Business Configuration".
Keywords
KBA , LOD-SF-EC-PER-PRS , Personal Info - Config, Rules, RBP, UI , Problem
SAP Knowledge Base Article - Public