Query Multiple Records (ServiceNow) activity

An activity that retrieves one or more records from a ServiceNow table.


Query Multiple Records activity

Configure the Query Multiple Records activity

To configure the Query Multiple Records activity, do the procedure in this topic.

Examples

Prerequisites

Good to Know

How to Start

  1. Open Process Builder.

    For information about how to open this screen, refer to Process Builder.


    Open Process Builder
  2. In Process Builder, in the Activity Library, open the ServiceNow tab.

    Open ServiceNow tab
  3. On the ServiceNow tab, drag the Query Multiple Records activity onto your process.

    Drag Query Multiple Records activity

General Configuration

Specifies the basic settings for the Query Multiple Records activity.

Figure: General Configuration screen

General Configuration screen

Good to Know

  • Documentation for this screen is provided for completeness. The fields are mostly self-explanatory.

Fields

Field NameDefinition

Display Name

Function:
Specifies the activity name that shows in your process.
Accepted Values:
One line of text that can have spaces.
Default Value:
None
Accepts Process Data Variables:
No
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Description

Function:
Specifies an optional text description for your activity.
Accepted Values:
More than one line of text.
Default Value:
None
Accepts Process Data Variables:
No

Query Multiple Records Configuration

Specifies a set of conditions to retrieve more than one record from a ServiceNow table.

Figure: Query Multiple Records Configuration screen

Query Multiple Records Configuration screen

Fields

Field NameDefinition

ServiceNow

Function:
Specifies the access token that connects to your ServiceNow service.
Accepted Values:
A list of access tokens configured for your environment.
Default Value:
None
Example:
Refer to:

Create Add Token icon

Opens this Screen:
Access Token for ServiceNow
Function of this Screen:
Configure an access token to connect to ServiceNow.
Example:
Refer to:

Table Name

Function:
Specifies the name of the table from which to retrieve one or more records.
Accepted Values:
A table name from the list.

When you select the access token from the ServiceNow field, this field shows the table names associated with the access token.

Default Value:
None
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Filter Criteria

Function:
Specifies a set of conditions to limit the records to be retrieved.
Accepted Values:
One or more filter conditions, separated by ampersands (&) in this format:​

[filter condition]&[filter condition]

Default Value:
None
Example:
Age<40&Country=Mexico
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Store the Response In This Variable / Map Response to Application Schema

Function:
Specifies where to store the response from ServiceNow.
Accepted Values:
  • Store the Response In This VariableSelect this option if you expect ServiceNow to return only one data item.

    In the text field, specify a variable to store the data ServiceNow returns.

  • Map Response to Application SchemaSelect this option if you expect ServiceNow to return more than one data item.

    Click the Schema Mapping Schema Mapping icon button to open the Schema Mapper.

    Use this screen to connect the response to the data model for your process.

Default Value:
Map Response to Application Schema
Accepts Process Data Variables:
  • If you select Store the Response In This Variable, you must enter a variable.
  • If you select Map Response to Application Schema, this does not apply.
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?