Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

How to use escape sequence in Email Generation

AshishDas
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 you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

AshishDas
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 you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.