Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/11/2024 04:33 AM - edited 06/11/2024 05:09 AM
Hi , Is there any binding variable to send notification to first level approver when second level approver rejects the request.
1. First Level approver is Line Manager
2. Secon level approver is group of people based on sav role.
Requirement : When second level approver rejects the request, notification should be sent to first level approver(To: or CC: field in email templet attached below)
User Management -> create user request (using form)
Please find workflow
below variable not working - ${approvedBy.email},${manager.email
06/11/2024 05:03 AM
06/11/2024 05:11 AM - edited 06/11/2024 05:12 AM
Hi @ssaundatti , is the first level approver always the manager ? And first level is requestor manager right? try this requestor?.manager?.email or if you are storing users manager email in customproperty you can try that as well.
06/11/2024 11:06 AM
@NM No, first level approver is selected manually on create userform.
06/13/2024 10:31 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: