Approve and Reject Button on email notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-28-2020 10:18 PM
Approve/reject button in email
Requirement is to create an email notification having 2 buttons approve and reject .On click of approve button email would be sent to manager that request is approved or Rejected.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-28-2020 10:20 PM
Hello
Please go through the blog below -
https://community.servicenow.com/community?id=community_blog&sys_id=8080e8dc1babb380d01143f6fe4bcb0e
Hope this helps.
Regards
Omkar Mone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-28-2020 10:53 PM
Hi Omkar,
I am not able to achieve the functionality on this blog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-28-2020 10:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-28-2020 11:29 PM
Hi Roshani,
You're going to have to script something. You have 2 options...
1) Set up your UI action script to make an update to some field on each of those records so that it triggers an email notification.
2) Trigger an event in your UI action.
Triggering an event really isn't a big deal though (and is a better option than making an unnecessary update to each of those records to do the same thing). All you need to do is add your event in the event registry and then issue the single-line command. Once you do that all of the configuration in your email notification is exactly the same except for changing your notification to respond to the event.
gs.eventQueue("your.event.name", current, gs.getUserID(), gs.getUserName());
Let me know if you have any question!!!
Thanks,
Priyanka