I’ve created a transform that should only change the domain name of the email address if the name starts with chris.jones or mark.jacobs. The error only appears if the account has an email address.
Any help would be appreciated.
Thanks!
Error: There was an exception while calculating the value for this attribute. Error during transformation for attribute: email (Transform ID: Set Test Email Domain Transform) Cause: Error rendering template: ^(chris.jones|mark.jacobs)@.$*
There was an exception while calculating the value for this attribute. Error during transformation for attribute: email (Transform ID: Set Test Email Domain Transform) Cause: Error rendering template: ^(chris.jones|mark.jacobs)@[a-zA-Z0-9.-]+$
Could it be compatibility issues betwee ISC/seaspray parser and regex?
Not having a solution, but had the same issue in the past and reverted to a different transform to achieve what I needed to achieve, but today ran into this same issue again with a simple regex “^Full time$”
Hi @mario_rod,
I tested the transform you provided multiple times and noticed there seems to be an issue with the regex. After some trial and error, I made a few adjustments, and the following transform worked correctly for me.
This works but if the identity has an existing email attrib but does NOT have an AD account (mail attrib), it returns nothing. It wipes out the existing email attrib.
It needs to return the existing email attrib if AD/mail does not exist.