I want to show the incident based on description to the particuller groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2024 04:09 AM
I have requirement the incidents contains short description start with exit asset details to the two group.
for this I have tried with the query BR.
when to run to condition is task type is incident and the script is below.
please help someone for this.
if ((gs.getUser().isMemberOf('CrpA')) && (gs.getUser().isMemberOf('CrpPO'))) {
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2024 05:55 AM
there is already 1 Query BR on incident table.
Did you add logic to same or created a new one?
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-05-2024 10:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2024 03:01 PM - edited ‎11-05-2024 03:01 PM
Hi @Barathk I hope you are doing well,
Create a new Business Rule for query, and use the screenshot below as a sample on Script.
 
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Wahid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2024 01:32 AM
Hi @AbdulNow
Thanks for the response
The above shared script is not working.