---
updatedAt: 2026-10-13T14:48:34.000Z
agentTools:
  projectIndex: https://docs.axonius.com/llms.txt
---

# ServiceNow - Update Group

**ServiceNow - Update Group**  updates a group in ServiceNow for assets retrieved from the saved query supplied as a trigger (or groups selected in the asset table).

See [Creating Enforcement Sets](https://docs.axonius.com/axonius-help-docs/docs/create-ec-set) to learn more about adding Enforcement Actions to Enforcement Sets.

<Accordion title="When accessing an enforcement action using the API, you must use the backend form of field names. " icon="fa-info-circle">
  Use the [Syntax Helper](https://docs.axonius.com/axonius-help-docs/docs/using-the-syntax-helper) to find the correct name. In the enforcement action, enable **Configure Dynamic Values** and select **Syntax Helper**.


  <Image src="https://raw.githubusercontent.com/Axonius/ax-docs-pub/refs/heads/main/img/action_center/SyntaxHelperForAPIECs.png" width="550px" />

</Accordion>

<Callout icon="far fa-circle-info" theme="info">
  ### Note

  - Not all asset types are supported for all Enforcement Actions.
  - See Actions supported for [Activity Logs, Adapters Fetch History, and Asset Investigation modules](https://docs.axonius.com/axonius-help-docs/docs/creating-queries-filters#using-activity-log-adapter-fetch-history-asset-investigation-and-findings-queries-in-enforcement-actions).
  - See Actions supported for [Aggregated Security Findings](https://docs.axonius.com/docs/vulnerabilities#using-aggregated-security-findings-queries-in-enforcement-actions).
  - See Actions supported for [Software](software#using-software-queries-in-enforcement-actions).
</Callout>

## General Settings

* **Action name** - The name of this Enforcement Action. The system sets a default name. You can change the name.

* **Configure Dynamic Values** *(optional)* - Toggle on to enter a Dynamic Value statement. See [Creating Enforcement Action Dynamic Value Statements](https://docs.axonius.com/docs/config-ec-conditions) to learn more about Dynamic Value statement syntax.

* **Use stored credentials from ServiceNow adapter** - Select this option to use [ServiceNow](https://docs.axonius.com/axonius-help-docs/docs/servicenow) adapter credentials.
  * When you select this option, the **Select Adapter Connection** drop-down is available, and you can choose which adapter connection to use for this Enforcement Action.

<Callout icon="far fa-circle-info" theme="info">
  Note

  To use this option, you must successfully configure a [ServiceNow](https://docs.axonius.com/axonius-help-docs/docs/servicenow) adapter connection.
</Callout>

## Required Fields

These fields must be configured to run the Enforcement Set.

* **Name** - The name of the updated group.
* **Description** - A description of the updated group.
* **Compute Node**  - The Axonius node to use when connecting to the specified host. For more details, see [Working with Axonius Compute Nodes](https://docs.axonius.com/docs/connecting-additional-axonius-nodes). <br />

## Additional Fields

These fields are optional.

<Callout icon="💡" theme="warn">


  ## Connection and Credentials

When **Use stored credentials from the adapter** is toggled off, some of the connection fields below are required to create the connection, while other fields are optional.

  * **ServiceNow Domain** - The hostname or IP address of the ServiceNow server. This field format is 'https://[instance].service-now.com'.

  * **User Name** and **Password** - The credentials for a user account that has the [Required Permissions](#required-permissions) to add users.

  * **Client ID** and **Client Secret** - The OAuth Client ID and Client Secret for OAuth access to ServiceNow. Refer to [OAuth 2.0 with Inbound REST](https://community.servicenow.com/community?id=community_blog\&sys_id=56086e4fdb9014146064eeb5ca961957) for full details on how to obtain the OAuth Token.

  * **Refresh Token** - When using the OAuth method of authentication, enter the value of the Refresh Token issued by a ServiceNow instance.

  * **Apigee URL** - The URL of the domain that the get request is sent to for acquiring Apigee token.

  * **Resource Apigee** - The resources you want the Apigee to access.

  * **Verify SS&#x4C;_&#x20;(Optional)_**_&#x20;(default: enabled)&#x20;_- Selects whether to verify the SSL certificate of the server against the CA database inside of Axonius.  For more details, see [SSL Trust & CA Settings](https://docs.axonius.com/axonius-help-docs/docs/certificate-settings#ssl-trust-ca-settings). This setting is enabled by default on all new adapter settings. If you need to disable SSL verification, make sure you disable this setting._)_&#x20;

  * **HTTPS Proxy** *(optional)* - Connect the adapter to a proxy instead of directly connecting it to the domain.

  * **Fetch devices updated in ServiceNow in the last X hours (0: All)** _(default: 0)_ - Enter an amount of hours to fetch only devices that have been updated in ServiceNow in the last specified number of hours.

  * **Fetch users updated in ServiceNow in the last X hours (0: All)** _(default: 0)_ - Enter an amount of hours to fetch only users that have been updated in ServiceNow in the last specified number of hours.

  * **Fetch users created in ServiceNow in the last X hours (0: All)** _(default: 0)_ - Enter an amount of hours to fetch only users that have been created in ServiceNow in the last specified number of hours.

  * **Advanced configuration file** -  Upload an advanced configuration JSON file.

  * **Enable Client Side Certificate** - Select to enable Axonius to send requests using the  certificates uploaded to allow Mutual TLS configuration for this adapter. If you select this option, the following options are also available:

  * **Client Private Key File (.pem)** - Adds a private key to the connection (if the API/proxy requires identification). Click **Upload File** to upload a client private key file in PEM format.

  * **Client Certificate File (.pem)** - Adds a client side certificate to the connection. Click **Upload File** to upload a public key file in PEM format.

  * **Gateway Name** -  Select the Gateway through which to connect to perform the action.
</Callout>

## Required Permissions

The credentials used to connect to ServiceNow must have permission to update groups.

***

For more details about other Enforcement Actions available, see [Action Library](https://docs.axonius.com/docs/action-library).