Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Email notification not sent to resource owner for pending approval

Sharada
New Contributor III
New Contributor III

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 you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

stalluri
Regular Contributor II
Regular 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.

CR
Regular Contributor III
Regular Contributor III

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
New Contributor III
New Contributor III

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.

CR
Regular Contributor III
Regular Contributor III

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 you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Sharada
New Contributor III
New Contributor III

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 you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.