We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

UI Builder: Control Audience based on GROUPS (instead of default roles)

Yann Dubois2
Tera Expert

I want to be able to control the audience for an Experience using groups instead of roles.  All the documentation I've read has said this is possible by:

1) enable glide.ux.user_criteria_enabled in sys_properties (https://www.servicenow.com/docs/r/application-development/ui-builder/enable-user-criteria-property.h...

YannDubois2_1-1770752750999.png

 


and

2) have the "UX Framework User Criteria" plugin installed (packaged with SOW ITSM)

YannDubois2_2-1770752848824.png

YannDubois2_4-1770753376319.png

 


My instance has the SOW ITSM Applications installed:

YannDubois2_3-1770752906059.png


So the prerequisites for group-based Audiences should be in place, correct? (or am I missing anything else?)

However, the groups option still does not appear as an option in the Audience table (sys_ux_applicability), and I am still being restricted to using Roles.  Actually, a message still displays about needing to turn on user criteria in sys_properties:

YannDubois2_0-1770752687272.png


I am working within Yokohama, but I've tested this in my Zurich PDI and I'm experiencing the same limitation.
What am I doing wrong?

 

1 ACCEPTED SOLUTION

miftikhar20
Kilo Patron

Hi @Yann Dubois2,

 

  1. Navigate to All > Now Experience Framework > Building Blocks > Audiences and open the Audiences[sys_ux_applicability] table. Click New.
    miftikhar20_0-1770810882316.png
  2. Set the Name and Save.
    miftikhar20_1-1770810960141.png
  3. In the User Criteria Inclusions related list, click New.
    miftikhar20_2-1770811054648.png
  4. Select lookup icon on Can Read field and on the User Criteria Records list, click New.
    miftikhar20_4-1770811321239.png
  5. Set the Name, select the Groups and submit the form.
    miftikhar20_5-1770811458450.png
  6. Now submit the user criteria inclusion record.
    miftikhar20_6-1770811520878.png
    miftikhar20_7-1770811543030.png


If my response helped, please mark it as the accepted solution so others can benefit as well.

 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

View solution in original post

2 REPLIES 2

miftikhar20
Kilo Patron

Hi @Yann Dubois2,

 

  1. Navigate to All > Now Experience Framework > Building Blocks > Audiences and open the Audiences[sys_ux_applicability] table. Click New.
    miftikhar20_0-1770810882316.png
  2. Set the Name and Save.
    miftikhar20_1-1770810960141.png
  3. In the User Criteria Inclusions related list, click New.
    miftikhar20_2-1770811054648.png
  4. Select lookup icon on Can Read field and on the User Criteria Records list, click New.
    miftikhar20_4-1770811321239.png
  5. Set the Name, select the Groups and submit the form.
    miftikhar20_5-1770811458450.png
  6. Now submit the user criteria inclusion record.
    miftikhar20_6-1770811520878.png
    miftikhar20_7-1770811543030.png


If my response helped, please mark it as the accepted solution so others can benefit as well.

 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Yann Dubois2
Tera Expert

Thanks @miftikhar20 , that was exactly what I was missing...  How simple, the groups were in a related list, but I just wasn't seeing it since I hadn't created the record!  Thanks again.