I want to move the identity to error state if the first name or last name has non-English characters . We have already transformed the firstname identity attribute using decomposeDiacriticalMarks. But the attribute remains empty after the transform.
What is the method for me to be notified about it? How can I set them to an error identity?
Hi Manju,
Thank you for posting your question. Can you please elaborate as to attribute remains empty ? Is the transform not transforming the non English characters ?
In the table attribute of the replaceAll transform, the key has been changed from " " to "\\s+". This regex expression "\\s+" matches one or more whitespace characters, including spaces, tabs, and line breaks. It will replace all occurrences of whitespace characters with an empty string, effectively removing them.
The input attribute remains the same, using the decomposeDiacriticalMarks transform to decompose the diacritical marks from the input lastName attribute.
With these changes, the transform should remove all spaces and decompose the diacritical marks from the input lastName attribute without encountering the regex expression error.
You can also add what all ascii character are there in table with the corresponding replacement and it should work. Let us know if you still face issue after adding this transform
Thanks for your explanation. But my input looks like “一鸣 柳” or “Симона Проданова”. After “decomposeDiacriticalMarks” transform, output is empty..
You could create an “Error” lifecycle state and have your transform that calculates LifeCycle state place identities in the “Error” state if they meet certain criteria. Then enable notifications on that lifecycle state to go to administrators, or some address directly.
In order to check it, I’d do something like the following, but you’ll have to figure out what makes sense with your calculations: