- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2019 07:23 AM
Hi All,
I've created a simple list widget on the portal of my ServiceNow instance. The simple list is set to show any live priority 1 (critical) incidents. I need this list to be available for any non-ITIL users that are in a specified group. Since the watch list dictionary points to the sys_user table, I have created a new dictionary which points to the sys_group table. This is called u_group_watch_list.
I can now add groups to the group watch list but I need to configure a business rule(?) to allow users within a group that is in the group watch list to read an incident.
I took some inspiration from this thread: https://community.servicenow.com/community?id=community_question&sys_id=b2378b29db1cdbc01dcaf3231f96...
I couldn't follow the thread to completion as they had other business rules and different configurations.
Is anyone able to advise what I need to do next?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2019 05:23 AM
Sorry, my bad, the sys id in your or condition needs to be enclosed by the same sort of quotation marks! change to this:
current.addOrCondition("u_group_watch_list', "CONTAINS", "sys_id of P1Notifications group");
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2019 04:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2019 05:23 AM
Sorry, my bad, the sys id in your or condition needs to be enclosed by the same sort of quotation marks! change to this:
current.addOrCondition("u_group_watch_list', "CONTAINS", "sys_id of P1Notifications group");
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2019 06:24 AM
Thanks David,
This has worked!