ServiceNow web triggers are configured to monitor events on a ServiceNow instance.

Overview

The ServiceNow web trigger listens for specific events in a ServiceNow instance. When the event occurs in the monitored instance, the trigger initiates the configured automation workflow.

The ServiceNow web triggers use OAuth to authenticate the connection to ServiceNow instance. See Create OAuth connection for more information about OAuth connections.
Note: ServiceNow web trigger does not require offline access authorization or token scope for the OAuth connection.

You can use the event table filters from the ServiceNow instance (Filter criteria (optional)) and the ServiceNow user roles (Filter criteria by Role (optional)) as filters for the subscribed events. These server-side filters allow you to repurpose the ServiceNow options without defining separate filters within the automation. The filters process only the relevant incoming data, thereby reducing the system load.

Supported events

The ServiceNow web trigger supports the following events:

Events Description
When new record is inserted When a new record is created in the monitored event table of the ServiceNow instance.
When existing record is updated When an existing record is updated in the monitored event table of the ServiceNow instance.
When existing record is deleted When an existing record is deleted in the monitored event table of the ServiceNow instance.
When existing record is queried When a search query is made for an existing record in the monitored event table of the ServiceNow instance.

Prerequisites

Ensure that the following prerequisites are met:

  • A Bot Creator or Citizen Developer license.
  • EVENT TRIGGERS and View my bots permissions.
  • Check in and Check out permission on the folders in which the automation is located.
  • An active OAuth connection for the ServiceNow instance.

Settings

The following settings are available for ServiceNow web triggers:

ServiceNow URL
Enter the URL of your ServiceNow instance.
Event Type (Table)
Enter the name of the table that the trigger must monitor.
Listen to event
Select one or more events that the trigger must monitor.
Filter criteria
The Filter criteria option allows you to reuse the filters created in ServiceNow instance for sorting and viewing entries in the event table as a event filter. Only events that satisfy the filter criteria are used as the filter for the trigger.

Right-click on the filters displayed on any events table in ServiceNow, and then click Copy query to copy the filter. Paste the copied filter in the Filter criteria field to use it as a trigger condition.

Filter criteria by Role
The Filter criteria by Role option allows you to use the roles available in the ServiceNow instance as the trigger criteria. This option allows you to filter events that a user with a specific role creates, modifies, or deletes.
Control room OAuth connection
Use the Pick option, and follow the prompts in the Pick an OAuth connection modal to select a configured OAuth connection for the ServiceNow instance.
Response
Use the Response option to save the trigger response data. You can select an existing variable or create a new variable. Only Record variable type is supported.