Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Approval email notification link

kali
Tera Contributor

Hi All,

I have created a email notification such that it sends out the approval record link to the end user. It needs to be dynamic in nature. I have to pass the dynamic sys id in the email notification . I am thinking of using a href  tag in the email script. Kindly help on this.

 

Thanks in advance

3 REPLIES 3

Ranjit Nimbalka
Mega Sage

Hi @kali ,

 

You can use ${current.sys_id} to get sys_id of current record dynamically.

 

may be like below

 

<a href="/sys_approval_approver.do?sys_id=${current.sys_id}" target="_blank"</a>

 

Regards,

Ranjit

Hi  @Ranjit Nimbalka ,

Thanks for the response. I am using granular delegation and if i want to send delegated approvals records  in a separate email notification. How can i filter the sysapproval_approver table and get the delegated records and send it to them, the delegator should not recieve the notifications

Ankur Bawiskar
Tera Patron
Tera Patron

@kali 

what do you mean by dynamic sysId?

can you share some details on what you tried so far and what's your requirement?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader