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

SN_Learn
Kilo Patron
Kilo Patron

Hi @BoHyun Jung ,

 

Please check the below ServiceNow Doc:

User criteria properties for Service Portal 

 

Mark this as Helpful / Accept the Solution if this helps

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

Hi @SN_Learn 

 

Why is there a Role field in the announcement?

Hi @BoHyun Jung ,

 

That is to allow the roles defined on that field to view the announcements when public field is not set to true.

 

Trying to edit User Criteria for SP Announcements, pages, and widgets. 

How can we display announcement based on user location 

 

Mark this as Helpful / Accept the Solution if this helps

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

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.