Skip to content

Query Record List from Data Table

Parameter Configuration

ParameterDescription
Data TableThe data table to query from
FilterFilter conditions for querying data. Filter values can be dynamically specified using expressions
Page SizeNumber of records returned per page. Page size can be dynamically specified using expressions
Page NumberQuery data page number. Page number can be dynamically specified using expressions
Aggregation QueryWhether to enable aggregation query. After enabling, you can set the aggregation method and grouping columns used for aggregation calculation
Return Field ListThe list of fields to return in the records. If not set, all fields will be returned
Return Option Display NamesWhether to return display values for List Selection, Tree Selection, and Cascading Selection in the returned records
Sort FieldsCombination of sort fields for the query result
Aggregation ColumnsList of aggregated fields and aggregation methods after enabling aggregation query
Group By FieldsList of grouping fields for aggregation after enabling aggregation query
Separate Multi-select ValuesFor multi-select grouping fields, whether to merge the same elements from multiple records into the same record

Return Value

Return ValueTypeDescription
Record ListArray<Record>Record list queried according to step settings

Notes

  • Page Number, a maximum of 100,000 records can be queried at a time. For single pages exceeding this limit, you need to use Query Record Count to get the total number of records, then query multiple times with pagination
  • Return Field List, when returning too many records at once, the return field list needs to be carefully controlled to avoid the risk of memory overflow

Usage Scenarios

  • Query data from the data table with specified conditions for use in subsequent steps
  • Query data from the data table with specified conditions and return it or return it to the API

Usage Examples

Assuming a Task Management (task) data table:

FieldTypeDescription
taskNoSingle Line TextTask number
nameSingle Line TextTask name
ownerUser SelectionTask owner
statusList SelectionTask status
Not Started notstarted
In Progress progress
Completed complete
Canceled canceled
  • Query Task List