107 views

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 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

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://<instancename-servicenow.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. 

Related Problem: PRB1180971

Seen In

Kingston

Intended Fix Version

Madrid

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-03-07 10:23:42
Published:2017-09-25