Catalytic is now PagerDuty Workflow Automation

ServiceNow: Get single record

🕙  2 minute read

Use this action to return all fields from a single ServiceNow record.

How to configure this action

This action requires a preconfigured ServiceNow integration. For more information on integrating PagerDuty Workflow Automation with other systems, please refer to the Integrations section of our help documentation.

Fields for this action

  • Integration

    • Select your ServiceNow integration from the options. You may have multiple integrations configured.
  • Sys id

    • Enter the ID for the record. All records have a unique 32-character ID. There are 2 ways to get the Sys id
    • Get the Sys ID from the header bar
      • When viewing the record, right click on the header bar and select Copy URL from the context menu. Paste the URL into a text editor, you can then copy the 32-character string at the end of the URL.
    • Get the Sys ID from the URL
      • When viewing the individual record, the ID is in the URL. Click on the URL bar of your browser and copy the 32-character string at the end of the URL.
  • Table name

    • Enter the Table name where the record is stored, for example incident. For a list of the default ServiceNow tables, see the Tables and Classes article.
  • Sysparm fields

    • By default, this action returns every field from the record. To return specific fields, enter a comma separated list of field names to return in the response.
  • Output Field Prefix

    • To help keep output fields organized, choose an output field prefix to add to the beginning of each output field name as this action may output more than one field.
    • The step’s name is used as the prefix by default.
  • Sysparm display value

    • Select how the ServiceNow record data is formatted in the output fields. You can choose to output the display value, or actual value. For example, the display value of a currency field may be $100, but the actual value is 100, the display value of a user field may be Rick, but the actual value is 783c019v389900b98. Default is false.
      • Enter true to return the display values
      • Enter false to return the actual values
      • Enter all to return both display and actual values in the output.
    • For an overview of the display/actual values of different field types, see ServiceNow’s Field types affected by export controls article.
    • If a field references other resources or databases, you can include additional information such as the URI link to the reference resource. Default is false.
      • Select true to exclude links when a field references other resources.
      • Select false to include links when a field references other resources.

What will this output?

This action will create an output field for every field in the record. The output field name will be the same name as the field in ServiceNow.

This action may generate multiple fields. To help keep output fields organized, the prefix above will be added to the beginning of each of the output field names, separated by two dashes. Each field will result as:{{output-field-prefix--output-field}}

Sorry about that. What was the most unhelpful part?









Thanks for your feedback

We update the Help Center daily, so expect changes soon.

Link Copied

Paste this URL anywhere to link straight to the section.