SAP Knowledge Base Article - Public

3459583 - onSave Business Rule is not working for the Onboardees but working in EC - Onboarding

Symptom

  • Customer configured an onSave rule to raise a message during Personal Data Collection step if a candidate missed to attach a certain document or did not enter any value for a specific field.
  • The rule works properly when hiring is done directly in Add new employee tool in Employee Central.
  • The business rule is configured with condition coming from the Position object.

Sample Rule Condition:

 

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 Onboarding

Cause

The system is working by design:

  • The Position object is part of the Job Information portlet.
  • Job information portlet is not active until the new hire's start date.

Resolution

  • This rule will not work for external users as they wont have permission to Position Object.
  • External users doesn't have permissions to all entities, they are exposed to only some entities by design so it will not fetch the jobInfo.Position details for external user and thus, will return "Null" value.
  • As a result, the rule condition will fail.
  • You need to modify the rule for external users by removing the position field from the business rule condition. 

Keywords

onSave, Validation message, Message Definition, Configure business rules, Business Rule, Rule, Position, Jobinformation, External Users, RuleTraceWriter, RuleDataAuditLogUtil, Onboarding, OBX, ONB2, ONB , KBA , LOD-SF-OBX-DC , Personal Data Collection , Problem

Product

SAP SuccessFactors HXM Core 2311

Attachments

Pasted image.png
Pasted image.png