Look up a record from any table based on defined conditions.

Roles and availability

Available as a Workflow Studio ServiceNow core action. Users with the flow_designer or admin role can add an action to a flow and define configuration details.

Fields

Outputs

These outputs appear in the Data panel. You can use them as inputs elsewhere in your flow.

Record
Data type: Record

Record found based on the conditions you specified in the Conditions input.

Table
Data type: Table

Name of the table associated with the returned record.

Status
Data type: Choice

0 if a record was found successfully, and 1 if there was an error.

Error Message
Data type: String

Message containing details about why the record could not be found.

Note: This output's value is only populated if the Status output's value is 1.

Example

Example Look Up Record action in a flow.