Using ServiceNow Updated Record Trigger in Trigger loop Handle

You can use the ServiceNow updated record trigger to monitor a ServiceNow table for updated records.

Prerequisites

In Automation Workspace, you added the Trigger loop Handle to your bot.

Procedure

  1. In the Trigger loop Handle, select ServiceNow > Updated Record Trigger in the Trigger on field.
    A list of options for the processServiceNow new record trigger will appear for you to configure.
  2. Optional: Enter the API version in the API version field.
  3. Specify the credential fields for Client ID, Client secret, Username, and Password fields.
    • Credential: Select a credential in the credential vault.
    • Variable: Specify a variable.
    • Insecure string: Enter a string.
  4. Enter the Table name to monitor for new records.
    A query is sent, and ServiceNow returns data for this table. When a new record is returned in the data, then this trigger is invoked.
  5. Optional: Select an input where the ServiceNow response is stored in the File names field.
    For Variable, specify a variable.
    For List, the following can be selected:
    • Any: Specify a value.
    • String: Specify a value.
    • Number: Specify a value.
    • Datetime: Select the date, time, and time zone, or choose a Variable.
    • Boolean: Select a True or False option, or choose a Variable.
    • File: Specify a value for Variable, Control room file, or Desktop file
  6. Optional: Specify the filter in the Filter by records field.
    For Sys_id, specify the ID
    For Query, specify a query.
    For Number-value pair, specify a dictionary or variable for Dictionary or add an entry for Entry list.
  7. Specify a time in the Check every field to set the trigger interval.

    The trigger interval for the bot is set to 120 seconds.

  8. Specify your variable in the Assigned to field.
    You can use this variable to retrieve various details about the email that triggered the bot, such as sender, recipient, subject, email content, date, action information, email server host, and port data.
    You can select from the following:
    • Multiple variables
    • Record
  9. Click Save to save your configuration.
    You have configured the ServiceNow new record trigger for use with the trigger loop handle.