Want to use dynamic link for approval trigger

Vedant
Tera Contributor

Hello All,

 

I have one catalog item and excel sheet in which there are columns of country and approver.

I have one requirement that when any user from country submits ticket the approval should trigger from the excel sheet.

Can we achieve this functionality if yes the please help how we can achieve.

 

thanks,
Vedant

1 REPLY 1

Ahana 01
Tera Expert

Sure, you can use dynamic links for approval triggers in ServiceNow. Here's a step-by-step guide on how you can do this:

1. Create a new email notification for the approval trigger.
- Navigate to System Notification > Email > Notifications.
- Click on New to create a new notification.

2. In the "When to send" section, set the table to "sysapproval_approver" and the condition to "When a record is inserted".

3. In the "Who will receive" section, set the recipient as "User/Group in Field" and select "Approver".

4. In the "What it will contain" section, set the subject and message body. In the message body, you can use the ${URI_REF} variable to create a dynamic link to the approval record.

5. Save the notification.

Here's a sample code for the message body:


Hello ${approver.name},

You have a new approval request. Please click on the following link to view and approve/reject the request:

${URI_REF}


This will create a dynamic link in the email that directs the approver to the approval record in ServiceNow.


nowKB.com

For a good and optimistic result, and solving ServiceNow-related issues please visit this website.https://nowkb.com/home
Kindly mark correct and helpful if applicable