Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/17/2024 07:06 AM
Hello team,
I have a problem with my mail generation rule,
I created users with special characters,
example: firstname = ökîàéç and lastname = Lêäùèô ;
my 1st mail generation rule having failed,
I created a userupdate rule to trigger mail generation (i base the Action of Generate User Email, on the update off the firstname or lastname),
the log says “No Special Characters selected, Please Add Special Characters for Email Generation Rule.
I found this forum : https://forums.saviynt.com/t5/identity-governance/email-update-based-on-attribute-change/m-p/98907
and I modified the “Reuse same email for user” as indicated but no change could be observed.
please found logs in attatch file
Would you have a clue for my email generation rule?
Thanks in advance
09/17/2024 07:20 AM
Hi @Yeya have you tried with users who don't have special characters in their first or last name?
Regards,
Indra
09/17/2024 07:35 AM
Hi @indra_hema_95 ,
Thanks for your answer
I just tried with a user that is :
firstname = Lola and lastname = Lêäùèô
and the email address generated is = lola.l@mail.com
and the logs still show the same thing
09/17/2024 07:37 AM
Hi @Yeya So as per your email generation logic what should be the mail that should generate?
Regards,
Indra
09/17/2024 07:41 AM
Hi @indra_hema_95 ,
it should generate : lola.leaueo@mail.com
my Email Generation Rule is :
09/17/2024 07:58 AM
09/17/2024 08:25 AM
09/17/2024 08:00 AM
Did you added special characters in global configurations ?
09/17/2024 08:26 AM
Hi @rushikeshvartak
thanks for your answer
I add : User Regex Validation : [a-zA-Z\u00C0-\u024F\u1E00-\u1EFF]
09/17/2024 08:40 AM
If your issue is resolved, Please mark applicable response even if its your as solution to help community
09/17/2024 08:04 AM - edited 09/17/2024 08:08 AM
CASE
WHEN users.employeeclass = 'XXX'
THEN CONCAT(LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(users.firstname, 'ö', 'o'), 'î', 'i'), 'à', 'a'), 'é', 'e'), 'ç', 'c'), 'ù', 'u'), 'è', 'e'), 'ô', 'o')), '.', LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(users.lastname, 'ö', 'o'), 'î', 'i'), 'à', 'a'), 'é', 'e'), 'ç', 'c'), 'ù', 'u'), 'è', 'e'), 'ô', 'o')), '.ext@mail.com')
WHEN users.employeeclass = 'YYY'
THEN CONCAT(LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(users.firstname, 'ö', 'o'), 'î', 'i'), 'à', 'a'), 'é', 'e'), 'ç', 'c'), 'ù', 'u'), 'è', 'e'), 'ô', 'o')), '.', LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(users.lastname, 'ö', 'o'), 'î', 'i'), 'à', 'a'), 'é', 'e'), 'ç', 'c'), 'ù', 'u'), 'è', 'e'), 'ô', 'o')), '@mail.com')
ELSE CONCAT(LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(users.firstname, 'ö', 'o'), 'î', 'i'), 'à', 'a'), 'é', 'e'), 'ç', 'c'), 'ù', 'u'), 'è', 'e'), 'ô', 'o')), '.', LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(users.lastname, 'ö', 'o'), 'î', 'i'), 'à', 'a'), 'é', 'e'), 'ç', 'c'), 'ù', 'u'), 'è', 'e'), 'ô', 'o')), '@mail.com')
END
09/17/2024 08:37 AM
Hi @stalluri
thank you for your reply,
thank you for your help,
but isn't it possible to use the function (FN_EIC_REPLACE(users.firstname, NULL) ?
because the documentation states: https://docs.saviyntcloud.com/bundle/EIC-Admin-v2022x/page/Content/Chapter02-Identity-Repository/Dat...
“This DB function can be used with the advanced configuration of identity rules (System Username Generation, Email Generation, and Account Name)”.
thanks in advance