---
title: "Keeping the sys_number_counter in sync between instances"
canonical: "https://docs.perspectium.com/space/resources/1115535/Keeping%20the%20sys_number_counter%20in%20sync%20between%20instances"
format: markdown
---
Some ServiceNow records are easier to refer to if you add some kind of  identifier or number , such as user groups ( sys_user_group ). However, what happens if you have multiple instances where groups are being created, and you’d like to ensure that all user groups, no matter which instance they are created on, have unique sequential numbers/identifiers? It’s as simple as creating a dynamic share for that table. However, the catch comes when you realize that, even after the  sys_number_counter  table is updated with the new group’s number, business rules aren’t triggered and thus the other instances aren't receiving the updated numbers and may end up creating different groups with the same number. Here is where the dynamic share's  after share script  comes in handy. You can use that script section to define any activities that you want to take place after a dynamic share has completed, such as sharing the new number record in the  sys_number_counter  table. Prerequisites   First, you will need to   create a dynamic share  for the  specific table (such as  sys_user_group ) you want to keep numbering in sync. Procedure To replicate the  sys_number_counter  table and keep in sync numbering for a specific table, follow these steps: For more information, contact  Perspectium Support . Similar topics Contact Perspectium Support US:  1 888 620 8880 UK:  44 208 068 5953 support@perspectium.com