How to send notification to user id of reference field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 11:36 PM
Hi,
I want to send a notification with below conditions. Trying with event and notification and BR. But notification is not triggering correctly.
On Analysis table have a reference field(matrix_id) it is reference to the table Expirement and matches with reference field (pcp) from that table sys id is matching with plan table sysid need to send notification to user id field in plan table.
Here is my Script for BR
Writing BR on Analysis table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 12:13 AM - edited 09-20-2023 12:14 AM
Hi @SHAIK MAHABOOB2,
In the first line of your script getValue needs to be a capitol V.
You probably commented some line during testing. but, this prevents your planGR query to move to the first record. So add planGR.next() or uncomment the last while.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 12:17 AM
So what debugging did you do from your side?
I hope event, notification and BR are on same table
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2023 01:13 AM
Hi Ankur,
I have mentioned some logs in code but it is coming undefined in logs.
Event, notification and BR are on same table.