Create a user group
- UpdatedFeb 1, 2024
- 2 minutes to read
- Washington DC
- User Administration
Create groups and assign roles to them. Users assigned to the group inherit the roles.
Before you begin
Procedure
- Navigate to All > User Administration > Groups.
- Select New.
-
On the form, fill in the fields.
Some fields appear after personalizing the form. Personalize a form.
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 Catalog > Catalog Policy > Fulfillment Groups module. See Configure assignment group types for more information. You may need to Personalize a form 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
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 for more information. Description Helpful information about the group. - (Optional)
Remove or hide a group.
-
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 Hidden on the Group form.For more information on creating fields, see Add and customize a field in a tableThe 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.
-
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.
-