Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/23/2024 12:17 PM
I have a requirement for reassigned email template format where I need a binding variable for role owner first name lastname to be added in the body of the template and also binding variable for total number of access approved , access revoked and total no.of task reviewed.
Template format :
Dear Campaign Assignee
Role Owner has re-assigned this access review campaign to you. Please follow the steps below to complete this task.
Summary of the campaign:
- Total roles reviewed: Number
- Approved access: Number
- Revoked access: Number
Solved! Go to Solution.
09/23/2024 12: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 {RVkey,RVvalue -> println "$RVkey ------- $RVvalue" + "" + "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:
09/23/2024 09:19 PM
What will the binding variable I need to use for role owner name ?
09/23/2024 09:37 PM
@anjali_5 can you just hardcode your email ID and add the above string in the email body.
This needs to be determined based on attributes exposed as part of camapign.
09/23/2024 09:45 PM
09/24/2024 03:39 AM - edited 09/25/2024 12:36 AM
I have tested by providing above code in email body , the output in the template is as :
certificationUsers ------- br> delegateEmail ------- br> originalCertifier ------- xxxxxxxxxxxx> campaign ------- com.saviynt.ecm.campaign.domain.Campaign : 209br> delegateUser ------- br> campaignOwnerAndTheirDelegateEmailList ------- xxxxxxxx> usersManager ------- br> users ------- xxxxxxxx> secondarycertifier ------- br> certification ------- com.saviynt.ecm.campaign.domain.Certification : 5030br> out ------- java.io.PrintWriter@316beb35br> [certificationUsers:, delegateEmail:, originalCertifier:xxxxxxxxxxxx, campaign:com.saviynt.ecm.campaign.domain.Campaign : 209, delegateUser:, campaignOwnerAndTheirDelegateEmailList:xxxxxxxxx, usersManager:, users:xxxxxxxxx, secondarycertifier:, certification:com.saviynt.ecm.campaign.domain.Certification : 5030, out:java.io.PrintWriter@316beb35]
Which variable shall I use ?