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

Operation not allowed error on email template

mgandr
New Contributor III
New Contributor III

I'm trying to create a template with the provided content, but I'm encountering an error message stating, "Operation not allowed as you are entering a value that resembles or contains script code." Has anyone else encountered this issue, and if so, how did you resolve it?

Header contains 

<%String count="${ANALYTICSDATAMAP.get("LastLoggedIn")}"; if (count.equals("75")) { print "Inactivity Notice" } else print "Inactivity Reminder" %>
 
 
            <br><br><%String count="${ANALYTICSDATAMAP.get("LastLoggedIn")}"; if (count.equals("75")) { print "We noticed" } else print "This is your final reminder" %> that you have not logged for over ${ANALYTICSDATAMAP.get("LastLoggedIn")} days. 
            <br><br><%String count="${ANALYTICSDATAMAP.get("LastLoggedIn")}"; if (count.equals("75")) { print "We encourage you to log in within the next 15 days to prevent your account from being disabled." } else print "We recommend that you log in within the next 5 days to prevent account disablement." %>
            <br><br>Username: ${ANALYTICSDATAMAP.get("AccountName")}
            <br><br><%String count="${ANALYTICSDATAMAP.get("LastLoggedIn")}"; if (count.equals("75")) { print "EmployeeID: ${ANALYTICSDATAMAP.get("Employeeid")}" } else print "Application : Application1" %>
 
 
1 REPLY 1

rushikeshvartak
All-Star
All-Star

Please raise support ticket to allow adding script on email template page


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.