09/29/2023
12:21 PM
- last edited on
10/02/2023
04:42 AM
by
Sunil
Hello Team,
We have a requirement to send approval notification email to the manager with below details. So for that we attached the email template in workflow and we are submitting the "Create User Request" form (Joiner form) via ARS. Some binding variables are not getting print the values in email.
We inserted this condition in email body -
${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}
and getting the ouput as:
ServiceAccountOwnerMap = [:]
entitlements = []
accessapprovers = com.saviynt.ecm.workflow.Access_Approvers : 2223
ServiceAccountFlag = false
request = com.saviynt.ecm.workflow.ARS_Requests : 1591
jbpm_activity_name = NewLineManagerApproval
exceptionCount = 0
allApproversComments = null
fullhtmlassignedrows =
requestkey = 728442
roles = null
rejectedByMap = [:]
fullrowhtmltablerows =
out = java.io.PrintWriter@7edabcb1
listofallrolesinrequest = []
assigneemanager = XYZ0000000
requesttype =
dynamicAttrsList = []
entitlementshtmltablerowsv2 =
entitlementshtmltablerowsv3 =
approvallink = null/jbpmworkflowmanagement/showrequestdetails/SNOW_HR_Workflow.727593
allrolesinrequest =
ServiceAccountType =
requestlink = null/jbpmworkflowmanagement/showrequestdetails/SNOW_HR_Workflow.727593?reqid=1591
email =
endpoints = ()
entitlementshtmltablerows =
allRejectorsComments = null
rolesshtmltablerows =
manager = admin
approvedByMap = [:]
rolesApprovedOrRejected = []
rolename =
request_access = com.saviynt.ecm.workflow.Request_Access : 1644
entitlement_values = []
allApprovers = []
requestor = ABC0000000
users = admin
allRejectors = []
requestid = 728442
rolemap = [:]
baseUrlForEmail = https://domain.saviyntcloud.com/ECM
assignee = XXX0000000
activityname = NewLineManagerApproval
accounts = []
user = admin
curExecutionId = SNOW_HR_Workflow.728442
accessItems = [com.saviynt.ecm.workflow.Request_Access : 1644]
Can someone help me with the binding variables for above above values in table?
Thanks,
Bhargav.
[This message has been edited by moderator to mask url]
10/01/2023 09:42 AM - edited 10/01/2023 09:44 AM
Beneficiary Name: ${user.firstname}, ${user.lastname}
Request Type: ${tasktype}
External Reference: ${task.id}
User Email: ${user.email}
Start Date: ${user.startdate.format("MM-dd-yyyy HH:mm:ss")} UTC //TERMDATE or ENDDATE based on the field the value is populated in the users table.
Employee Type: ${user.employeeType}
Job Title: ${user.title}
COMPANY: ${user.companyname}
DEPARTMENT: ${User.departmentname}
Let me know if you need anything else.
Best regards,
SAM
Please accept the solution if it resolves your issue. This will help others as a go to solution.
10/02/2023 03:58 AM
Hi @Bhargav,
You can refer to the below forum post for more info on binding variables:-
https://forums.saviynt.com/t5/identity-governance/binding-variables/m-p/25448