Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Set up only users with custom roles to see the announcement

BoHyun Jung
Mega Sage

BoHyunJung_0-1720500790240.png

I want to set up an announcement so that only users with a custom role called u_common_account can see the announcement. If I set it like the attached image, the announcement is visible to all users.

1 ACCEPTED SOLUTION

SN_Learn
Kilo Patron
Kilo Patron

Hi @BoHyun Jung ,

 

I have tried to replicate the scenario but couldn't, please check the screenshots:

 

1. Created a custom role named 'u_announcement_user

2. Created an announcement and provided the below above role as condition

SN_Learn_0-1720506110333.png

 

3. Provided the role to one user 'Allan'

SN_Learn_1-1720506169427.png

 

4. The announcement is visible to Allen after impersonation

SN_Learn_2-1720506307813.png

 

5. Impersonated a user who is not having that role: 

SN_Learn_3-1720506408036.png

 

No announcement found:

SN_Learn_4-1720506443113.png

 

Please share some references/screenshots to debug your issue.

 

Mark this as Helpful / Accept the Solution if this helps

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

View solution in original post

5 REPLIES 5

Hi @SN_Learn 

 

I thought what I set was wrong with the test as admin. I tested it with a user without role and it works fine. Thank you.