Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Adding / removing role to a group with high number of users does not add / remove role to all the users in the group - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • Adding / removing role to a group with high number of users does not add / remove role to all the users in the group
KB0636107

Adding / removing role to a group with high number of users does not add / remove role to all the users in the group


8869 Views Last updated : Mar 24, 2025 public Copy Permalink
KB Summary by Now Assist

Description

Adding or removing a roles to/from a group with high number of users does not add or remove the role to/from all the users in the group. After the default time of 298 seconds, the transaction is cancelled by the UI Transactions quota rule. This issue can leave the group in an inconsistent state where not all the users have same role in the group.

Steps to Reproduce

  1. Create a group.
    For more information, see the product documentation topic Create a user group.
  2. Add 5000 users to the group.
  3. Try to add a role to the group.
    For more information, see the product documentation topic Assign a role to a group.
  4. If the transaction completes before 298 seconds, add a few hundred users to the group.
  5. Try adding another role to the group.
  6. Repeat adding users and adding roles until the UI transaction quota cancels the transaction.

Workaround

On Madrid or later:

  • Add system property glide.ui.schedule_slushbucket_save_for_group_roles and set to true. This will cause group role additions or removals to be performed in the background, so it will not be immediately visible on the group and will need a refresh to confirm completion.
  • If this works, when using "Edit" on the related list of a user group, you will see an information message at the top: Job to add or remove role(s) from user(s) of group has been queued

On a version earlier than Madrid, choose from one of the following workarounds:

  • Increase the quota for UI transactions whenever such a long-running operation is performed by going to https://<instance-name>.service-now.com/sysrule_quota.do?sys_id=88fe39123701200024d1973ebebe5dfd. Increase the value to a large number before running this transaction. The default value is 298 seconds.
  • Write a simple GlideRecord-based script to perform the same action to add the role to the group in Scripts - Background. The background scripts are not subject to the UI transaction quota checks. 

Note that, although the fix for this is with the system property on Madrid, it is not enabled by default on instances.


Related Problem: PRB1180971

Potentially Seen In

There is no data to report.

Fixed In

Madrid

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.