How to send notification to requestor for/ end user when req is pending for approval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 10:12 PM
HI Team,
How to send notification to requestor for /end user with whom the approval is pending
Please advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 10:40 PM
Hi @vamshi2 ,
You can refer to OOB notifications. Approval reminders are setup on the sysapproval_approver table. You can use the link below to check OOB notifications.
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Regards,
Pranav Thanedar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 10:54 PM
thanks for reply but link is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 11:19 PM
Hi @vamshi2 ,
You need to replace the <instance_name> in the above link with your instance.
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Regards,
Pranav Thanedar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 11:09 PM
Hi @vamshi2 ,
Do the following.
1. create one schedule job and use below script.
var reqGr = new GlideRecord('sc_request');
reqGr.addQuery('approval', 'requested');
reqGr.query();
while (reqGr.next()) {
gs.eventQueue('request.pending.approval', reqGr, reqGr.requested_for, reqGr.opened_by);
}
2. Create and event registry with name "request.pending.approval".
3. Create one event based notification.
Check this blog for configuring event based notification: https://servicenowwithrunjay.com/email-notification/
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------