- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 06:29 AM
I created a querie business rule to restrict request items that belong to a data group to only that group. The querie is working as expected with the exception of when an email is triggered from creation of request item, the requested for and request item fields are blank when receive email notification. This is only happening with the request item that I created a before business rule for. When I make the br inactive, and create a request item the fields are populated on the notification email.
Any guidance on this would be appreciated....
Requested Item and Requested for is blank
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 07:20 AM
please ensure you add this in your query BR condition along with your existing condition
gs.getSession().isInteractive()
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
04-19-2024 06:39 AM
Hi @Rhonda9 ,
Keep the BR inactive and utilize the ACLfor group specific access.
or allow the system user/role to query on the ritm table in BR script.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 06:43 AM
Is this an email send to a user with access to the data in the ticket, or not?
And how are you triggering the email? Through flow designer or directly in the email notifications?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 06:58 AM
It is an oob email notification using a script. This works fine for the other Request Items but somehow the querie business rule I created is causing the issue with the Sensitive Data Request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 07:20 AM
please ensure you add this in your query BR condition along with your existing condition
gs.getSession().isInteractive()
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