create_group
Create a new ServiceNow group by specifying its name, description, manager, parent group, type, email, members, and active status. Ideal for organizing users and roles efficiently.
Instructions
Create a new group in ServiceNow
Input Schema
Name | Required | Description | Default |
---|---|---|---|
active | No | Whether the group is active | |
description | No | Description of the group | |
No | Email address for the group | ||
manager | No | Manager of the group (sys_id or username) | |
members | No | List of user sys_ids or usernames to add as members | |
name | Yes | Name of the group | |
parent | No | Parent group (sys_id or name) | |
type | No | Type of the group |
Input Schema (JSON Schema)
{
"description": "Parameters for creating a group.",
"properties": {
"active": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": true,
"description": "Whether the group is active",
"title": "Active"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Description of the group",
"title": "Description"
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email address for the group",
"title": "Email"
},
"manager": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Manager of the group (sys_id or username)",
"title": "Manager"
},
"members": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "List of user sys_ids or usernames to add as members",
"title": "Members"
},
"name": {
"description": "Name of the group",
"title": "Name",
"type": "string"
},
"parent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Parent group (sys_id or name)",
"title": "Parent"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Type of the group",
"title": "Type"
}
},
"required": [
"name"
],
"title": "CreateGroupParams",
"type": "object"
}