Overview
The Query Records action is responsible for retrieving specific data from a database or data source based on predefined conditions or criteria.
This action allows workflows to access relevant information needed for further processing, analysis, or decision-making.
...
By specifying filters, sorting, or other parameters, this action ensures that only the most pertinent records are retrieved from the data set, optimizing the workflow for efficiency and accuracy.
It plays a critical role in gathering data to support business processes and dynamic content generation.
Config
...
Config Field | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Source Type | In this dropdown, you can select a source among various sources from which you want to query records. Note: By default, the Source Type is Object. Other options include Model and Variable. | |||||||||||
Note: Fields below this will be populated based on the Source Type one chooses. If Variable and Model are chosen, only one field of choosing specific model and variable will be populated. | ||||||||||||
Object | In this option, you can select the object from which you want to query records. The chosen object will define the source of data for your query. Note: Label of this field is dependent on Source Type chosen earlier. If chosen variable or model, label will be the same either variable or model as per selection. | |||||||||||
How many records to store? | In this option, you can specify the number of records to query from the selected object. You can choose to retrieve either a single record or multiple records based on your operational needs.
| |||||||||||
Fields | In this option, you can view and select fields from the object you have previously chosen. These fields represent the data points within the object that you can query for Note: This will be blank, if no object is chosen. | |||||||||||
Selected Fields | In this option, you can see selected fields by you which are querying for. | |||||||||||
Filters | This option enables user to filter records data from the selected object using AND and OR logical operators. These operators allow the user to create complex logic for querying records, ensuring that only the relevant data is retrieved.
| |||||||||||
Order By |
| |||||||||||
Limit | It is used to specify the number of records to be queried in single query. | |||||||||||
Offset | To efficiently manage large result sets in a SOQL query, use the
|
...