Symptom
How to Create a Business Rule to Validate a Phone Number
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
Resolution
It is possible to create a Business Rule and use a Regular Expression to check the validity of the length and/or format of a Phone Number (or any STRING field).
Please note that currently the rule will only execute in the UI (as Business Rules on Import of Phone Information is not currently supported).
Below example of basic validation check for USA and India phone numbers (can be used onChange as well as onSave).
See Also
2297965 - How to Create a Business Rule to Format a Phone Number
Keywords
enforce format; contact info; phone number , KBA , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , LOD-SF-EC-PER-PRS , Personal Info - Config, Rules, RBP, UI , How To