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

Can we display account custom properties in the email template

necoutinho
New Contributor III
New Contributor III

Hi,

 

I have been trying to display the account attribute details in email template. Tried to find it in below reference document

https://docs.saviyntcloud.com/bundle/EIC-Admin-v24x/page/Content/Chapter06-EIC-Configurations/Creati...

I have tried to use - ${account.customproperty2} for e.g but the email is not getting sent

4 REPLIES 4

SumathiSomala
All-Star
All-Star

@necoutinho Where did you attach the email template ?

and when this email will be triggered?

you can use below line email body to identify the variable you can use 

${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}

 

Regards,
Sumathi Somala

If this reply answered your question, please Accept As Solution and give Kudos.

rushikeshvartak
All-Star
All-Star
  • Where is email template attached ?
  • when email is getting triggered 

    To get what variables are present to use in the email template, check using the below expression. By putting it in the email body, it will print all variable names with values, and then accordingly, you can use it:


    ${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}

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

necoutinho
New Contributor III
New Contributor III

The email is getting triggered on task creation. 

Yes ran the expression below is the o/p :

request = com.saviynt.ecm.workflow.ARS_Requests : 2726
tasktype = Disable Account
manager = 9077
owners = [null]
requestor = INC523
users = 222222
out = java.io.PrintWriter@35310ebe
task = com.saviynt.ecm.task.ArsTasks : 15932
endpointDisplayName = PD Web
baseUrlForEmail = https://remove.saviyntcloud.com/ECM 
user = 222222
taskaction = Disable Account
tasks = com.saviynt.ecm.task.ArsTasks : 15932

${task?.accountKey?.customproperty2}


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