ServiceNow - Query records
The ServiceNow - Query records action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. queries records of the table type you specify, limiting results using conditional statements. For more information about the ServiceNow connector, go to ServiceNow.
Configure the ServiceNow - Delete a record action
-
Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.
-
Select a Connection. If you do not have a connection, see Add a connection.
- Select the Table Name type to query records from.
- Type the Maximum number of records to return.
-
Limit the returned query results (add one or more conditions)
- Click Add condition.
-
In the Condition section, fill in the fields below.
Condition fields
Field
Description
When Attribute from the selected object. Accepts a selection from the drop-down list. Operator Comparison between When and Value. Accepts a selection from the drop-down list. Selections in the drop-down list correspond to the data type of the entry for When. Value The value you are looking for in the attribute specified for When. Accepts either a selection from the drop-down list or an inserted variable. Accepted variable types correspond to the data type of the entry for When. - Click Add condition to save your changes.
- To add another condition, click Add condition again.
- To configure query behavior for multiple conditions, select all or any.
- Select a variable to Store record Ids.
ServiceNow - Query records action fields, buttons, and settings
Section |
Field |
Description |
Variable types |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
(Unlabeled)
|
The ServiceNow connection to use for deleting the record. |
(n/a) |
|||||||||
Table Name |
The type of table record to query. |
Text, Decimal, Integer, Boolean, DateTime, Collection |
|||||||||
Maximum number of records to return |
The highest number of records the query can return. |
Integer |
|||||||||
|
Add condition |
Add conditions to use for the query. To configure query behavior for multiple conditions, select all or any. To add a condition, click Add condition and then fill in the fields below. To edit a condition, click To remove a condition, click ![]()
|
|
||||||||
Output |
Output |
The output variable to store the record IDs. |
Collection |