---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Create a user group

# Create a user group {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Create groups and assign roles to them. Users assigned to the group inherit the
roles.

## Before you begin

Role required: user_admin

## Procedure

1. Navigate to AllUser AdministrationGroups.
2. Select New.
3. On the form, fill in the fields.  
   Some fields appear after personalizing the form. [Personalize a form](https://www.servicenow.com/docs/access?context=t_PersonalizeAForm&version=xanadu&pubname=xanadu-platform-user-interface&ft:locale=en-US).  
   {#t_CreateAGroup__table_flh_qwv_sbb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name of the group. |
   | Manager | Group manager or lead. |
   | Type | Category for this group. For example, a group designated as type catalog is a service catalog group and can also be accessed under the Service CatalogCatalog PolicyFulfillment Groups module. See [Configure assignment group types](https://servicenow-prod.fluidtopics.net/uc0qP5It_5iWOy32OH_Ixw#c_ConfigGroupTypesForAssignGroups "Use the Type field to define categories of groups. Once defined, you can use these categories to filter assignment groups based on the group type using a reference qualifier.") for more information. You may need to [Personalize a form](https://www.servicenow.com/docs/access?context=t_PersonalizeAForm&version=xanadu&pubname=xanadu-platform-user-interface&ft:locale=en-US) to add the Type field. Activating the Work Management plugin adds the Type field automatically. Note: ITIL is added for groups with an empty group type. Also, the default reference qualifier for tasks enables these groups to assign tasks and other task types to the group. |
   | Group email | Group email distribution list or the email address of the point of contact, such as the group manager. |
   | Parent | Other group of which this group is a member. If a group has a parent, the child group inherits the roles of the parent group. The members of the child group aren't members of the parent group. For example, if an incident is assigned to the parent group and you select the Assigned to lookup icon, only the members in the parent group are available. The members of the child group aren't available. |
   | Active | Check box that indicates whether the group is active or inactive. Inactive groups still appear in any reference field that already references the group, but aren't visible by non-admin users in: * lists of groups * the reference lookup list for reference fields * the auto-complete list of groups displayed when you type into a reference field {#t_CreateAGroup__ul_elx_1fr_3q} |
   | Exclude manager | Check box that controls whether the group manager receives email notifications. |
   | Include members | Check box that controls whether the group members receive individual emails when someone sends an email to the Group Email address. The only exception to this functionality is for approval notifications, whereby all members of a group receive an approval notification, regardless of the Include members selection. See [Receive notifications](https://www.servicenow.com/docs/access?context=c_ReceiveNotifications&version=xanadu&pubname=xanadu-build-workflows&ft:locale=en-US) for more information. |
   | Description | Helpful information about the group. |
   [ ]

   {#t_CreateAGroup__table_flh_qwv_sbb}
4. **Optional:** Remove or hide a group.
   1. Note:  
      Only users in the hidden group are able to see the hidden group when selecting a group in a reference field.
      Create a true/false field labeled <kbd class="ph userinput">Hidden</kbd> on the Group form.  
      For more information on creating fields, see [Add and customize a field in a table](https://servicenow-prod.fluidtopics.net/1vEQYT7bKkaR8ZBd8s~Pnw "Administrators can add new fields to a table to store and display data.")  
      The system creates a field called u_hidden on the Users \[sys_user_group\] table and enables use of the Hidden check box to designate a hidden group.
   2. Create a new before query business rule on the \[sys_user_group\] (Group) table with the following script:  

          if (!gs.hasRole("admin") && !gs.hasRole("groups_admin") && gs.getSession().isInteractive()) { 
            var qc = current.addQuery("u_hidden", "!=", "true"); //cannot see hidden groups... 
            qc.addOrCondition("sys_id", "javascript:getMyGroups()"); //...unless in the hidden group 
          }

      Note:  
      For more information, see [Before Query business rules](https://www.servicenow.com/docs/access?context=bp-before-query-business-rules&version=xanadu&pubname=xanadu-platform-security&ft:locale=en-US).
   {#t_CreateAGroup__substeps_tgh_jmd_d1c}
{#t_CreateAGroup__CreateAGroup}

*[\>]: and then


