We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Basic

keerthikoru
Kilo Contributor

why in users if we adding the  role then instead of one role it is adding mutiple role  

11 REPLIES 11

Karunakaran
Giga Guru

@keerthikoru it could be because of the role that contains other roles..

example:

Karunakaran_0-1770304327440.png



Hope this is what you are looking for. If it is not, please be specific about which ootb role you are referring here.

muhammadosama55
Tera Contributor

Here's a helpful reply for this ServiceNow community question:


Hello @keerthikoru,

This behavior typically occurs due to one of the following reasons:

1. Role Inheritance When you add a role to a user, ServiceNow automatically includes all roles that are inherited by that role. For example:

  • If you add the itil role, the user also gets itil_admin, itil_report_writer, etc. if they're contained within it
  • Check the role hierarchy by navigating to User Administration > Roles and opening the role you're assigning to see "Contains Roles"

2. Multiple Role Assignments in Groups The user might already be a member of groups that have roles assigned. When you add a role directly to the user:

  • They keep their group-inherited roles
  • Plus the new role you're adding
  • This appears as "multiple roles" being added

3. Scripted Role Assignment Check if there are any Business Rules, UI Actions, or scripts that automatically assign additional roles when a specific role is added.

How to Verify:

  1. Go to User Administration > Users
  2. Open the user record
  3. Check the Roles related list - click on each role and note the "Inherited" field
  4. Review Groups related list to see group-based role assignments
  5. Navigate to System Logs > System Log > All to see if any scripts are triggering

Resolution:

  • If it's inheritance, this is expected behavior
  • If it's unwanted group assignments, remove the user from those groups
  • If it's script-based, review and modify the automation logic

If my response helped, mark as helpful and accept the solution!

muhammadosama55
Tera Contributor

Hello @keerthikoru,

This behavior typically occurs due to one of the following reasons:

1. Role Inheritance When you add a role to a user, ServiceNow automatically includes all roles that are inherited by that role. For example:

  • If you add the itil role, the user also gets itil_admin, itil_report_writer, etc. if they're contained within it
  • Check the role hierarchy by navigating to User Administration > Roles and opening the role you're assigning to see "Contains Roles"

2. Multiple Role Assignments in Groups The user might already be a member of groups that have roles assigned. When you add a role directly to the user:

  • They keep their group-inherited roles
  • Plus the new role you're adding
  • This appears as "multiple roles" being added

3. Scripted Role Assignment Check if there are any Business Rules, UI Actions, or scripts that automatically assign additional roles when a specific role is added.

How to Verify:

  1. Go to User Administration > Users
  2. Open the user record
  3. Check the Roles related list - click on each role and note the "Inherited" field
  4. Review Groups related list to see group-based role assignments
  5. Navigate to System Logs > System Log > All to see if any scripts are triggering

Resolution:

  • If it's inheritance, this is expected behavior
  • If it's unwanted group assignments, remove the user from those groups
  • If it's script-based, review and modify the automation logic

If my response helped, mark as helpful and accept the solution!

Aditya_hublikar
Mega Sage

Hello @keerthikoru , 

 

When you assign a role to a user, you may see additional roles automatically added because of role inheritance. Some roles are designed as parent roles and already contain other roles within them. So when you grant one role, ServiceNow also gives all the child roles associated with it.

 

If this helps you then mark it as helpful and accept.

Regards,

Aditya