# Query Entity Records

> Retrieves a list of records for the selected entity from UiPath Data Fabric, according to specified filters.

## Description

Retrieves a list of records for the selected entity from UiPath Data Fabric, according to specified filters.

This activity is equivalent to the activity of the same name in the Data Service classic activities package.

## Project compatibility

Windows | Cross-platform

## Supported workflows

All workflows except RPA (neither Studio Desktop, nor Studio Web).

## Properties

* **UiPath Data Fabric connection** - Select the Data Fabric connection you established in Integration Service. Access the dropdown menu to select, add, or manage connections.
* **Entity** - Select an entity to use with this activity. This dropdown menu includes your Data Fabric entities. Depending on the object chosen in this field, the activity is populated with property fields specific to that object. This field supports `TypeArgument` for `ImportedEntities` type input.
  * If you **Switch to object view**, you must provide a single consolidated object with the value of every field in it.
* **Query** - Using the filter builder, add a query to filter entity records

### Options

* **Skip** - Specify the number of records to skip from the start.
* **Top** - Specify number of records to return at most. The property supports values from 1 to 1000. The default value is 100.
* **Sort ascending** - Specify whether to sort in ascending (true) or descending (false) order.
* **Sort by field** - Specify the field used to sort the returned records.
* **Related Record depth** - Specify the depth of related records in the response from the service. Range: 1-3. Default: 3.

### Output

* **Query Entity Records** — Returns a list of records from the selected entity that match the provided filter. Each record includes all fields the caller has access to.
