Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Conditional Email Template Subject - issue

IAM_99
Regular Contributor II
Regular Contributor II

hi,

We are trying below condition  in the email template subject but  its printing as "no subject",

whats wrong in below ?

Your Access Request (<% if (task.entitlement_valueKey.entitlement_value.toString().startsWith("CN=nokiaenroll") print "${task.entitlement_valueKey.entitlement_value} else "${requestid}" %>) has been processed

2 REPLIES 2

RakeshMG
Saviynt Employee
Saviynt Employee

Could you please share the Subject and body of email template. 

Reference following link and make sure you are using right attribute in the subject. https://docs.saviyntcloud.com/bundle/EIC-Admin-v23x/page/Content/Chapter06-EIC-Configurations/Creati...


​Regards

Rakesh M Goudar

Enakshi
Saviynt Employee
Saviynt Employee

Highlighted parts are missing. Could you please try the below condition and confirm if it's working?

Your Access Request (<% if (task.entitlement_valueKey.entitlement_value.toString().startsWith("CN=nokiaenroll")) print "${task.entitlement_valueKey.entitlement_value} else print "${requestid}" %>) has been processed