Symptom
For National ID of Malta, Vietnam and New Zealand two different formats are allowed.
How can this be achieved without creating two different IDs?
Reproducing the Issue
Example Malta:
The National Insurance Number consists of 8 digits an a letter. The ID can either start with a letter or end with a letter.
How can this be achieved without creating two different IDs?
Resolution
In the reg-ex a pipe (¦) can be used to seperate both formats:
[\d]{8}[A-Z]{1}¦[A-Z]{1}[\d]{8}
This will allow to enter one of both formats,
However in the display format the pipe or any other seperator can't be used. Only one format can be displayed.
<display-format>NNNNNNNNA</display-format>
Result:
Keywords
KBA , LOD-SF-EC-PER-NAT , National ID - Config, Rules, RBP, UI , LOD-SF-EC , Employee Central , Problem