Notifications - Displaying the Value of Fields from Other Tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2023 07:15 AM - edited ‎11-27-2023 07:45 AM
I have a notification on the demand (dmn_demand) table in which I'm trying to include the value of a field from another table. I'm not sure of which table to use and am not sure if my script is correct. I created a mail script and am calling it from within the notification, but apparently I am doing something wrong. Below is my script and a screenshot of the data (category) in which I need to be included in the notification.
Thanks
AJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2023 07:21 AM
update as this in line 3
demand.addQuery('instance.trigger_id', current.sys_id);
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
‎11-14-2023 07:54 AM
I appreciate you response @Ankur Bawiskar but that didn't work.
AJ