Redirect email to the approval record

Divya choudhary
Giga Expert

Hi ,

I have created a notification to send to users manager and in the email i want a link which takes managers to the current approval record. Currently i have added "Click here to view Approval Request: ${URI+&sysparm_record_target=sysapproval_approver}" this to the notification which redirects to the current record as below:

Divyachoudhary_0-1667121655475.png

 

but i want it to get redirected to the managers approval of the current record where manager gets button to approve and reject as below page :

Divyachoudhary_1-1667121783142.png

 

9 REPLIES 9

Murthy Ch
Giga Sage

Hi @Divya choudhary 
Did you created the notification on approval table or user skill table?

Thanks,
Murthy

Approval table

Sorry i mean i have created notification in Skill table and the email template in approval table.

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

I believe the Notification is created on Skill table so it is redirecting back to Skill table.

 

You have two ways to combat this:-

 

1) Change the notification table to sysapproval_approver 

 

OR

 

2) Keep the table as skill and create a notification email script where you create the link on where to redirect the user and call the mail script in the notification.

 

Please mark my answer as correct based on Impact.