Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/07/2024 10:31 AM
Hi,
We need to get users name, department , job in our Campaign Email Templates, but when we are using variables such as ${users?.firstname} or ${users?.lastname} or ${users?.email} , we are getting Manager's firstname, lastname and so on.
Is there a way to fetch user details for Campaign Email Templates?
08/07/2024 06:18 PM
Please validate supported variables.
Purpose :
To get what variables are present to use in the email template.
Email Template steps :
keep Advanced HTML CSS flag is checked
Keep your email Address in TO
TO /CC/BCC & Subject - Don't use any dynamic variables
Add only below code in Email Body
${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}
Output : 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:
08/08/2024 04:45 AM
Hi Rushikesh!
After triggering email with the following query : ${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}
This is the result I got:
manager = ${users?.username}
certifiers = ${originalCertifier?.username}
certificationUsers =
delegateUser =${delegateuser?.username}
usersManager = ${manager?.username}
users =
secondarycertifier =
certification = com.saviynt.ecm.campaign.domain.Certification
out =
delegateEmail =${delegateuser?.email}
campaign =${campaign?.campaignName}
Which binding variable is used to get the username? Since I saw in the email , it was able to fetch the username in front of users =xyz.
08/08/2024 06:04 AM
User is object is blank hence you can’t achieve
09/08/2024 09:35 PM
Hi @Isha were you able to fetch the details of users??
09/09/2024 12:46 AM
No. It is not possible in Saviynt.
09/09/2024 05:54 AM
raise idea ticket and share idea ticket number https://ideas.saviynt.com/ideas/new
09/08/2024 10:50 PM
Hi @Isha , if users is coming blank then it is not supported variable.
Looks like you are using user manager campaign, for that users binding variable is not exposed , refer below form. You can raise an idea,