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

Email notification not sent to resource owner for pending approval

Sharada
Regular Contributor
Regular Contributor

Hi team,

We have configured work flow and added email template that needs to be sent to Resource owner for pending approval. However, the emails are not being sent to the Resource owner. Could you please help us check this?

Regards,

Sharada

8 REPLIES 8

rushikeshvartak
All-Star
All-Star

Where is email template attached ? what is variable used ?

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'.

stalluri
Valued Contributor II
Valued Contributor II

@Sharada 

1. check if the job is scheduled.
2. Check the logs to see if you are seeing any errors in the logs. (share the logs)
3. Use the below syntax in the sample email and check all the attributes you are using are being allowed in the email. 
${this.binding.variables.each {k,v -> println "$k = $v" + "<" + "br" + ">"}}


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.

Raghu
All-Star
All-Star

Can you give clarify? resource owner - manager? can you collaborate please or ss? 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

Sharada
Regular Contributor
Regular Contributor

Hi,

We have 2 levels of approval for add access request, 1st level is manager and the 2nd level is resource owner. We have created an email template for pending approvals and added the template in the workflow. But the email is not being sent to Resource owner.

for which binding variable are using in email template?

endpoints.REQUESTOWNER? 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

Please share output of below code 

${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'.

Sharada
Regular Contributor
Regular Contributor

Hi all,

we were able to resolve the issue. The mail trigger job has some issues and had stopped. Now everything is working fine. Thank you

 

I believe this was issue with SMTP Configuration, if yes please close this thread 


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