trigger notification by UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 03:07 AM
Hey
how to trigger notification when clicking a button on incident form in workspace?
i have tried to create an event but it doesnt work.
This is the UI action by created:
This is the Event by created:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 03:26 AM
the widget client script won't support gs object which is server side
So please use GlideAjax and then use gs.eventQueue there
Pass the record sysId to ajax function, do GlideRecord there and use gr object in eventQueue() function
I hope you will be able to complete the logic based on above suggestion by following docs etc
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 03:32 AM - edited 01-04-2024 03:33 AM
thank you, can you please help me write the script