Removing roles from role not reflected on users

Thi Dinh Nguyen
Tera Expert

Hello all,

I need to remove the role report_user from the sn_hr_core.basic role because the customer doesn't want HR users to see non-HR tickets. However, when I check the roles of an HR user, the report_user role is still there. Also there is an info message on the sn_hr_core.basic role record saying "Job to add or remove role(s) from user(s) of group has been queued." Is there any way to resolve the issue or achieve the requirement above?

Thanks,

Thi

1 ACCEPTED SOLUTION

Ahmmed Ali
Mega Sage

Hello @Thi Dinh Nguyen 

 

It is because the role assignment/group membership assignments are done in background instead of the same session currently you are on.  you can set glide.ui.schedule_slushbucket_save_for_group_roles system property to false to have the action complete on same session.

 

For more details checkout https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1119866 

 

Thank you,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

View solution in original post

2 REPLIES 2

Ahmmed Ali
Mega Sage

Hello @Thi Dinh Nguyen 

 

It is because the role assignment/group membership assignments are done in background instead of the same session currently you are on.  you can set glide.ui.schedule_slushbucket_save_for_group_roles system property to false to have the action complete on same session.

 

For more details checkout https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1119866 

 

Thank you,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

Thi Dinh Nguyen
Tera Expert

Thank you for your explanation.