# ServiceNow - New record triggers

# New record

This trigger picks up records that are created in the selected table. Each record is processed as a separate job. It checks for new records once every poll interval.

New record trigger New record trigger

# Input fields

Input field Description
From Records created after this time will be processed by the recipe. If left blank, the default date will be set to one day before the recipe is first started.
Table Select a table to pick up new records from.

# Output fields

The output datatree of this trigger contains the full set of columns from the selected table. All default and custom columns are supported. The output fields will be displayed only after a table is provided, either by selecting a table from the pick list or by providing the full table name.

Output fields Output fields

# New record (real-time)

This trigger picks up records in the selected table as soon they are created. Each record is processed as a separate job. It makes use of business rules to detect and trigger a new record event to be processed.

To use this trigger, the connected user must have sufficient access control to sys_script table. Learn how to configure access control for real time triggers.

New record trigger New record trigger

# Input fields

Input field Description
Table Select a table to pick up new records from.
Query ServiceNow query to filter the records you want. Example: active=true^stateIN1,3. Learn more. If your query contains the operator VALCHANGES, CHANGESFROM, CHANGESTO, you must select Yes to the 'Disable polling?' input field.
When first started, this recipe should pick up events from Records created after this time will be processed by the recipe. If left blank, the default time will be set to one day before the recipe is first started.
Disable polling? Polling allows us to retrospectively pull records from a previous timestamp specified in the "When first started, this recipe should pick up events from" field. In cases where your Query contains VALCHANGES, CHANGESFROM, CHANGESTO operators, you must disable polling. In all other cases, polling is highly recommended.

# Output fields

The output datatree of this trigger contains the full set of columns from the selected table. All default and custom columns are supported. The output fields will be displayed only after a table is provided, either by selecting a table from the pick list or by providing the full table name.

# Input field definitions

# From

This is a user-defined time that marks the earliest time that the trigger should pick up created records. If left blank, the default time will be set to one day before the recipe is first started.

The Created (sys_created_on) column is used to determine the time that a record is created. Only records with Created (sys_created_on) timestamp later than the time specified in From will be processed by the trigger.

Created (sys_created_on) timestamp Created (sys_created_on) timestamp

# Table

Select the table to process records from. This can be done either by selecting a table from the pick list, or toggling the input field to text mode and typing the full table name.

Make sure that the user used in the connection has sufficient access control to the selected table.


Last updated: 7/2/2021, 10:09:23 AM