and more in a single search tool across platforms. Read the announcement here. |
07/26/2022 01:16 AM - last edited on 07/26/2022 07:37 AM by Dave
Hi Team ,
I am trying to modify the subject of an email template .
When i do this in the subject line of email template
<% if ((user?.customproperty1).startsWith('RX')) print "Workday Joiner ${user?.firstname} ${user?.lastname} Business Unit : ${user.customproperty1} Hire Date: ${user?.startdate} "%> <% if (!(user?.customproperty1).startsWith('RX')) print "RELX Identity Service: ${user?.customproperty15} AD account created for ${user?.firstname} ${user?.lastname}"%>
It is giving the below error , please suggest .
[This post has been edited by a Moderator to clarify the subject heading.]
07/26/2022 09:55 PM
Hi @AJ23494
This is a known issue and because of few variables not exposed in the environment.
Please raise a support ticket as this needs more triaging on logs and variables.
In the meantime you can check if there are unwanted characters in the email template using below: Managing Email Templates : Customer Portal (freshdesk.com)
07/27/2022 06:49 AM
Hi @AJ23494 ,
This error is a security check put in place to avoid SQL injection/XSS related attacks. Since your string is using '%> <' , it gets blocked.
You can raise a Saviynt Support ticket to get this added from the backend.
08/09/2022 04:22 AM
Injection seems only checked during update operation. When you delete existing email template & recreate with same name it work as expected