Query Golden Records operation
The Query Golden Records operation retrieves active golden records from the authenticated repository. You can set query filter parameters to control which records are returned. You can also set a sorting parameter to control the order in which golden records are returned. This operation aligns with the Query Golden Records operation in the Repository API.
You can activate Accelerated Query when you have 100,000 or more golden records in a deployed model (universe). This feature improves query performance. Read Activating Accelerated Query to learn more.
Prerequisites
- A Hub repository
- A deployed model in the repository
- Active golden records in the repository
- A deployed Boomi basic runtime to run connector operations (Integration > Manage > Runtime Management)
Setting up the Query Golden Records operation
-
In the connector, select Query Golden Records in the Action drop-down.
-
Click the plus icon in the Operation field to create a new operation.
-
Click Import Operation.
-
Select the basic runtime you want to use to run your integration. The basic runtime must be online.
-
Ensure the connection you created to the repository is selected in the Connection field.
-
Optional: In Filter, enter a regex as a filter to help you select the deployed model name.
-
Click Next.
-
Select the deployed model name.
-
Click Next.
-
Click Finish. The import operation creates a response profile. You can use this response profile to map data in a Map step within your integration.
-
Optional: Select Include Source Links to include golden record metadata in the response. The returned metadata includes the entity ID, name, and established date of each source linked to the record.
-
Optional: Select Include Reference Title to include record title for the reference fields.
-
Optional: Enter a number in Max Records to limit the amount of records returned by the operation. By default, all records matching the filter criteria are returned.
-
Optional: Select Return Application Error Responses if you want the operation to continue when there is an application error. Processing continues and passes the error to the next component processed as the connection output. When the checkbox is clear, the process stops and reports the error in Process Reporting.
-
In Fields, select the fields to include in the query response.
-
Add a filter. Click the Filters tab and select Add Expression. The default main operator is AND. You can join multiple filters together with AND or OR by selecting Add Logical Sub-Group. For example,
value AND value AND value. Complex expressions such asvalue AND (value OR value)are not supported.- Enter a filter name.
- In Field, select a model field or attribute to set the filter. Refer to Query Golden Records operation filters to learn more about the available filters for the Query operation.

- Select an operator.
-
Optional: Click the Sorts tab to specify the order records are returned.
- Select the Sort Field.
- Select the Sort Order.
-
Click Save and Close.
-
Select the Parameters tab to import your filter parameters. Click the link to import all.
noteIs Not Null, Is Null, and Is Invalid operators do not accept a parameter.
-
Select the parameter in the list.
-
Click the edit icon.
-
Set the parameter value. For example, you can add a static value. For guidance on value formatting, refer to Query Golden Records operation filters. Read Parameter values to learn more about setting values.
-
Click OK.
-
Click Save.
Query Golden Records operation filters
You can filter your query using the following filters, including field name values. Set the filter operator in the Operation. Then, in the connector's Parameters tab, set the value for the filter.
| Filter name | Field |
|---|---|
| createdDate | Sets a filter by the date and time of golden record creation. Set the dates as a static value since the format is a comma separated string. The format is 'From,To' where 'From' and 'To' is yyyy-MM-dd'T'HH:mm:ss'Z', and 'T' separates the date and time — for example, 2013-03-01T15:32:00Z,2022-03-01T15:32:00Z. 'From' is any record after the From date specified. 'To' is any record up to the date specified. You can set the 'To' or 'From' date to an empty string. For example, 2013-03-01T15:32:00Z,. |
| updatedDate | Sets a filter by the date and time of last golden record update. Set the dates as a static value since the format is a comma separated string. The format is 'From,To' where 'From' and 'To' is yyyy-MM-dd'T'HH:mm:ss'Z', and 'T' separates the date and time — for example, 2013-03-01T15:32:00Z,2022-03-01T15:32:00Z. 'From' is any record after the From date specified. 'To' is any record up to the date specified. You can set the 'To' or 'From' date to an empty string. For example, 2013-03-01T15:32:00Z,. |
| recordIds | Sets a filter by 1–100 golden record IDs. You can set record IDs as a comma separated string. For example, acb123,def456. If you set this filter, the connector operation disregards other filters. |
| tags | Sets a filter by one or more tags specified by the tag name. A golden record with any specified tags will meet the tag criteria. You can set the tags as a comma separated string. For example, tag1,tag2. |
| creatingSourceId | sets a filter by a creating source specified by the source ID. |
| sourceLink | Sets a filter by the presence or absence of links to a source. The Source ID specifies the source by its ID. The Link Type can be either Linked, to filter by the presence of links, or Not Linked, to filter by the absence of links. |
| unresolvedReference | Sets a filter by the presence of unresolved reference field data. The field ID specifies a reference field by its ID. You set the source ID to a specific source to filter by unresolved source contributions or set it to all. The value must be set as a comma separated string in the form field_id,source_id or field_id,@all. You can also set the value to field_id so the source Id is empty and it is considered @all. |
| field name | Sets the filter by the field value you specify in your parameter settings. Several operators are available and display in the drop-down depending on the field type. |
Field name operators
The default of the main logical sub-group operator is AND. You can join multiple filters together with AND or OR For example, value AND value AND value. Complex expressions such as value AND (value OR value) are not supported.
| Field name operator | Definition |
|---|---|
| Equal To | This operator is valid for all field types. |
| Not Equal To | This operator is valid for all types except Reference fields and collection (repeatable) or collection item fields. |
| Is Not Null | This operator is valid for all types except Reference fields and collection (repeatable) or collection item fields. No parameter is needed for this operator. |
| Is Null | This operator is valid for all types except Reference fields and collection (repeatable) or collection item fields. No parameter is needed for this operator. |
| Contains | This operator is valid only for Text and Long Text fields. |
| Ends With | This operator is valid only for Text and Long Text fields. |
| Starts With | This operator is valid only for Text and Long Text fields. |
| Greater Than | This operator is valid only for Integer and Float fields. |
| Greater Than Equal | This operator is valid only for Integer and Float fields. |
| Less Than | This operator is valid only for Integer and Float fields. |
| Less Than Equal | This operator are valid only for Integer and Float fields. |
| Between | This operator is valid only for createdDate, updatedDate, Date, Date and Time, and Time fields. |
| Is Invalid | This operator is valid only for Enumeration fields. Filters by records that contain an enumeration field with an invalid value. No parameter is needed for this operator. |
| Linked | This operator is valid for the sourceLink filter only. Filters by records with linked sources. |
| Not Linked | This operator is valid for the sourceLink filter only. Filters by record with unlinked sources. |
Response example
A separate document is returned for each record that the meets the filter criteria.
The connector uses administrator privileges to authenticate. Therefore, masked field values are unmasked in responses.
<Record recordId="c86394d3-3z17-4bc2-9b1b-022033f53990" createdDate="2024-04-26T19:48:20Z" updatedDate="2024-05-10T20:26:26Z" recordTitle="Quinn USA">
<Fields>
<contact>
<name>Quinn</name>
<city>Philadelphia</city>
<state>PA</state>
<zipcode>19093</zipcode>
<country>USA</country>
</contact>
</Fields>
<links>
<link source="SF" entityId="904" establishedDate="2024-04-11T14:45:33Z"/>
<link source="NS" entityId="366" establishedDate="2024-04-17T21:13:03Z"/>
</links>
</Record>
| Element | Definition |
|---|---|
| recordId | Golden record ID. |
| createdDate | Time stamp of the creation of the golden record. |
| updatedDate | Time stamp of the last update of the golden record. |
| recordTitle | Record title based on the title rules set by the model. If record title is not set, recordTitle does not appear in the response. |
| link | A golden record's established link to a source.
|
The tracked property Query Total Count displays the number of records in the response that meet the filter criteria.
