Is there any way to manage accents in Clarizen ? Basically, to automatically convert "é" to "e" using a function for example.
To give you a bit of context: we use a custom action to create new users, HR has to fill a form with the new user's first and last name (and some other stuff) and then the custom action compiles the first and last names and creates an email adress such as this:
The problem is, when a user has accents (or other special characters) in his name (for example, "André" or "François"), it generates an error because the system can't create an email adress "André.firstname.lastname@example.org" or "françois.email@example.com".
I've been working on a work around for 2 days now but nothing seems to be working:
- I tried checking, in the custom action, if either the first or last name contained one or more special character and, if they did, replace the special characters by their "neutral" counterparts (If(contains(firstname, 'é'), replaceString(firstname, 'é', 'e')) but I get an error about the result being a boolean instead of a string when I check for all characters (if(a, b, c) || if(d,e,f) || etc...)
- I tried the same thing with a case function, but with the same error in the end
- Finally, I tried using a conditionnal action list for each special characters (which is very very long !) but, when I finished, I got the error "The given key was not present in the dictionnary".
I'm out of ideas here, I'd really appreciate it if you could help me out !
Thank you !