---
sourceDocument: Yokohama Build workflows
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/build-workflows

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Build workflows

ft:clusterId :

    - crworkflow

bundleId :

    - crworkflow

workflow :

    - Creator


---

# Look Up Records activity

# Look Up Records activity {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Look Up Records activity

The Look Up Records activity in ServiceNow's Yokohama release enables you to find system records that match specified conditions within a playbook.
This activity is accessible to users with admin, playbook.admin, or pdauthor roles and can be added as a common activity in playbooks.
Show full answer Show less  

## Key Features

* **Configurable Inputs:** Set properties such as Label (title for display), Description (usage or outcome info), and Run Conditions (criteria for executing the activity or stage based on prior data).
* **Scheduling Options:** Define when the activity or stage starts, either immediately at playbook or stage start, after specific stages or activities, or with an optional delay.
* **Record Lookup Parameters:** Specify the target **Table** to search, and define **Conditions** that records must satisfy using a condition builder.
* **Advanced Inputs:** Optionally configure sorting through an **Order by** field, choose sort direction (alphabetical or reverse), and limit the **Max Results** returned.

## Key Outcomes

* **Records Output:** Returns references to the records matching the criteria, allowing subsequent activities in the playbook to utilize this data.
* **Count Output:** Provides the number of records found, enabling logic or decision-making based on record quantity.

This activity streamlines the process of querying records dynamically within playbooks, helping you automate workflows based on real-time data retrieval and conditions.  
Find system records that match a set of conditions.

## Roles and availability {#look-up-records-activity__section_pwq_rb5_kcb}

* This activity is available as a common activity. Users with the admin, playbook.admin, or pd_author can add this activity to a playbook.
{#look-up-records-activity__ul_mcq_1c5_kcb}

## Inputs {#look-up-records-activity__section_yb4_zq3_plb}

Open the activity properties panel and configure your activity to add values for the following inputs. If the input value varies, use the pill-picker to show where to get the value. To learn more about the pill-picker, see [Dot-walking examples](https://www.servicenow.com/docs/access?context=dot-walking-examples&version=yokohama&pubname=yokohama-platform-user-interface&ft:locale=en-US). {#look-up-records-activity__table_ajt_sr3_plb__entry__3}

| Input | Type | Description |
|-|-|-|
| Label | String | Title to display as activity and playbook card. |
| Description | String | Information to display about activity usage or outcome. |
| Run condition | Condition Builder | Conditions that must be met to run an activity or stage. You can use data from prior activities to build conditions. Note: Show additional options to see this field. |
| Start Rule | Choice | Under ScheduleStart Rule, select a start rule for when your stage should start running: * When process starts: Your stage starts running as soon as the playbook starts. * After specific stages: Your stage starts running after specified stage(s) have finished running. {#look-up-records-activity__ul_f4z_nq1_ppb}Under Schedule \> Start Rule, select a start rule for when your activity should start running: <!-- --> * When stage starts: Your activity starts running as soon as its stage starts running. Your stage starts running when your playbook is triggered. * After specific activities: Your activity starts running after specified activities have finished running. {#look-up-records-activity__ul_zzc_3ls_m1c} |
| Start with delay | True/False | Option to wait for a duration of time before running an activity or stage. When enabled, this input displays the [Start with delay input properties](https://servicenow-prod.fluidtopics.net/ZO5_TxRewwK7XqnX5otC7A "Specify a duration of time to wait before running an activity or a stage whose start rule and conditions have been met. Give users time to act during automated playbooks. Give users time to wait for a specific date and time to complete actions."). Note: Show additional options to see this field. |
| Table | Table Name | Table whose records you want to look up. |
| Conditions | Condition Builder | Criteria that you want your list of records to meet. |
[ ]

{#look-up-records-activity__table_ajt_sr3_plb}

## Advanced inputs {#look-up-records-activity__section_bgh_1r3_plb}

After configuring the required inputs for your activity, you can also choose to configure additional inputs. In the side panel, select Show additional options to display these advanced inputs. For more information, see [Activity experience](https://servicenow-prod.fluidtopics.net/r014Lhz_11xoMRZZRHOzcA#activity-definitions__activity-experience). {#look-up-records-activity__table_cjj_sr3_plb__entry__3}

| Input | Type | Description |
|-|-|-|
| Order by | String | Field you want to use to sort a list of records. |
| Sort Type | Choice | Option to sort records alphabetically or reverse alphabetically. |
| Max Results | Integer | Maximum number of results to display to end users. |
[ ]

{#look-up-records-activity__table_cjj_sr3_plb}

## Outputs {#look-up-records-activity__section_unx_fr3_plb}

These outputs can provide data to other activities in your playbook. You can access this data as activity inputs when you configure your activity: {#look-up-records-activity__table_mv2_rr3_plb__entry__3}

| Output | Type | Description |
|-|-|-|
| Records | Records | References to the records that meet your specified conditions |
| Count | Integer | Number of records found |
[ ]

{#look-up-records-activity__table_mv2_rr3_plb}

*[\>]: and then


