Limited visibility to Announcements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2026 01:34 AM
Hi All,
I have got a business requirement where I have to create and display announcement (dynamic) on portal and I am doing that via a flow designer based on certain trigger.
The issue here is that I want to show to announcement only to the users who are part of group A.
Can you suggest some methods to do this ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2026 05:12 AM
To restrict ServiceNow portal announcements to specific users or groups, utilize the Service Portal User Criteria feature. This requires mapping User Criteria records to specific announcements using the m2m_announcement_uc_can_view (Can View) or m2m_announcement_uc_cannot_view (Cannot View) tables
Check the sample code from here and try to update your script:
https://www.servicenow.com/community/developer-forum/user-criteria-in-record-producer/m-p/2647539
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2026 02:45 AM
@Tanushree Maiti
I enabled the user criteria but, it has various other repercussions such as, the portal landing page got down (404 not found) because it was previously running on roles.
So, I cannot enable the user criteria sys property for announcement. Do we have any other method ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2026 04:44 AM
Hi, you cannot limit an announcement directly by group. But you can limit it by role. Just create a specific role, assign it to your group and then put it into the announcement's "Roles" field.
To add roles in an announcement, you need to uncheck the "Public" checkbox:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2026 04:46 AM
@Paul Kunze - I am creating announcement dynamically from a flow designer so, do you think it can be done in my case ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2026 05:17 AM
Yes of course. In Flow Designer you can also populate the two fields "Public" (set to false) and "Roles" (set to your role sys_id).