ServiceNow Updated Record trigger

Create a trigger that monitors a ServiceNow table for updated records and begins succeeding RPA actions in your bot flow.

Prerequisites

  • The bot creator must have access to a ServiceNow account with required permissions to perform tasks enabled by this package. See Roles.
  • Follow ServiceNow guidelines for authenticating to external client with OAuth 2.0. See Setup OAuth.
  • Create a Developer account and Developer instance in ServiceNow. See Personal Developer Instances.
  • Ensure that you are authenticated before initiating any ServiceNow action. See Authentication

The updated record trigger monitors the record within a time period. When updates occur, the trigger invokes and returns data. If multiple records are updated within the entered period, then data of multiple records is returned.

Map your trigger to a ServiceNow table. Enter the time period to send a query for that table data. When an updated record is found, this trigger is invoked and can begin succeeding bot actions.

Procedure

  1. Enter the URL for your ServiceNow instance.
  2. Enter the API version.
  3. Select how ServiceNow credentials will be entered for the following fields.
    OptionDescription
    Credential Select a credential saved in a secure locker that you have mapped to your Control Room.
    Insecure string Simply enter the credential. This data will remain visible.
    1. Enter the Client ID.
    2. Enter the Client secret.
    3. Enter the Username.
    4. Enter the Password.
  4. Enter the Table name where the record is located in ServiceNow.
    This data is what the trigger monitors. A query is sent, and ServiceNow returns data for this table. When a record update is returned in the data, then this trigger is invoked.
  5. (Optional) To store a response from ServiceNow, select and enter a List or Variable input where the response is stored.
  6. (Optional) Apply filters to specify the type of ServiceNow record to monitor.
  7. Enter how frequent the trigger searches for updated records in the Check every (seconds) field.
  8. (Optional) Select a variable where returned data is saved by the trigger.