User Criteria inclusions and exclusions in Audiences

PradeepReddyA
Tera Contributor

 

In ServiceNow's UI Builder, audiences are user criteria that determine which users can view a specific page variant, allowing for personalized user experiences by restricting access to certain pages based on roles or other user attributes

Navigate to the audiences from the application navigator

PradeepReddyA_0-1757960455383.jpeg

 

Inclusions → Define the groups, roles, or users that should be able to access the content.

Exclusions → Define the groups, roles, or users that must be restricted, even if they match an inclusion rule.

Consider a scenario in Service Operations Workspace (SOW):

  • The Interactions list should be hidden from users in the Service Desk group.
  • All other users should still be able to access it.

PradeepReddyA_1-1757960455385.jpeg

 

 

  1. Before using user criteria, ensure the below property is set to true Set the value to true.

Check the Ignore cache box for best performance

PradeepReddyA_2-1757960455386.jpeg

 

 

Create a new audience record and name it Non–Service Desk Users.
Next, go to the User Criteria Exclusions section, click New, and add the Service Desk group so that these users are excluded from the audience.

PradeepReddyA_3-1757960455386.jpeg

 

Navigate to List Applicability (sys_ux_applicability_m2m_list) and search for the module you want to restrict.

Modify the applicability to Non Service Desk Users

PradeepReddyA_4-1757960455386.jpeg

 

Then try to impersonate with any user form the group and the module will be restricted

PradeepReddyA_5-1757960455386.jpeg

 

0 REPLIES 0