Symptom
onChange event type rule does not work for national-id field.
Environment
SAP SuccessFactors Employee Central
Reproducing the Issue
1.Create an onChange event type rule under national-id field under nationalIdCard hris element.
2.Go to National ID portlet, and add a national id record.
3.For those national id card types which has display format defined, onChange rule will only be triggered when input hits the display format.
For those national id card types which has no display format defined, onChange rule will not be triggered.
Cause
Currently this is expected behavior.
Implementing onChange event without display format would be triggering the onChange event every time a user type, which would be very inefficient and not a good implementation. If the user needs to enter 20 characters, then the onChange rule gets triggered 20 times.
Without the display format of one card type, the system would not know when to stop to trigger.
Resolution
As a workaround, please maintain display formats for each card type for national-id field.
See Also
display format, national id, is not triggered, nationalIdCard hris element
Keywords
KBA , LOD-SF-EC-PER , Person Data (All Person Data Types) , Problem