Symptom
- Create a rule to make sure the candidate fill certain address type, for example, "Contact address".
- When the new hire first fills in another address type and then adds a second address type as the "Contact address", an error message will be triggered.
- However, when the first address type is "Contact address" type, the error message will not be triggered.
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
Reproducing the Issue
- Onboardee completes the Personal Data Collection
- Enter address type as Permanent Residence Address
- Click "add address"
- Enter address type as Contact address
Cause
This onSave rule does not apply to this request.
Resolution
When the system reads the "address type", it can only judge the conditions of the rule one by one, and cannot judge whether the conditions of the rule as a whole are satisfied.
In other words, when the first address type filled in is any address type other than contact address, the system will directly judge this rule as "False" when reading the first address type, and then trigger an error message without further judging whether the address type filled in after the first one is contact address.
Keywords
Onboarding, OBX, address type, rule condition, onSave rule, error not trigger , KBA , LOD-SF-OBX-CDC , Custom Data Collection , Problem