Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

How to use escape sequence in Email Generation

AashishD
Regular Contributor II
Regular Contributor II

Hi,

So we have a different type of user (Customer/Supplier) whose email needs to be generated in a particular way, however when we include it in the email generation query under global configuration it throws the following exception:

Query : 

case when (users.companyname = 'ABC Limited') AND(users.customproperty3 ='Customer/Supplier') then concat((users.customproperty28),'@abc.com')
 
END #
 
Error : Operation not allowed as you are entering a value that resembles or contains script code
 AshishDas_0-1673519863769.png

 

If we remove the forward slash, the query works fine. Can we use an escape sequence?

I used Customer/\Supplier but the same error.

Any suggestions?

 

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Try below 

////


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

AashishD
Regular Contributor II
Regular Contributor II

Still the same error.

AshishDas_0-1673529091247.png

 

case when (users.companyname = 'ABC Limited') AND(users.customproperty3 like 'Customer%Supplier') then concat((users.customproperty28),'@abc.com')


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.