Match Entities operation
The Match Entities operation sends a batch of entities from a contributing source, applies match rules, and returns match results for each entity in the batch. This operation helps you test how match rules apply to entities coming from a source so you can see potential duplicate records and make match rule adjustments.
The response is returned in XML format. The operation aligns with the Match Entities operation in the Repository API.
Prerequisites
You must have the following:
- A Hub repository
- A deployed model in the repository
- Source attached to the deployed model
- Open Source channel in the deployed model > Sources tab. Refer to Loading data from a source.
- Source is set to contribute data
- A deployed Boomi basic runtime to run connector operations (Integration > Manage > Runtime Management)
Setting up the Match Entities operation
- In the connector, select Match Entities 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 Source, enter the source ID for the source that is contributing data to the repository. The source ID here acts as a filter to help you select the deployed model name. You can find the source ID on the Sources page in Hub.
- 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 request and response profile. You can use these profiles to map data in a Map step within your integration.
- Enter the source ID in Source to indicate the contributing source for the entities.
- 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.
- Click Save and Close.
- Click OK.
- Click Save.
Response examples
Each match results is returned as a separate document. The response includes the match result status.
info
The connector uses administrator privileges to authenticate. Therefore, masked field values are unmasked in responses.
<MatchResult matchRule="Incoming name is similar to (Jaro-Winkler) Existing name" status="SUCCESS">
<entity>
<contact>
<id>1</id>
<name>bobby</name>
<city>berwyn</city>
</contact>
</entity>
<match>
<contact>
<id>e6e1b847-d61a-46d9-a610-c678ba40ca41</id>
<name>bob</name>
<city>berwyn</city>
</contact>
<fuzzyMatchDetails>
<field>name</field>
<first>BOBBY</first>
<second>BOB</second>
<method>jarowinkler</method>
<matchStrength>0.90666664</matchStrength>
<threshold>0.85</threshold>
</fuzzyMatchDetails>
</match>
<duplicate>
<contact>
<id>fc8cd5be-ac26-4e9a-9d0c-6b397a124172</id>
<name>bob</name>
<city>berwyn</city>
</contact>
<fuzzyMatchDetails>
<field>name</field>
<first>BOBBY</first>
<second>BOB</second>
<method>jarowinkler</method>
<matchStrength>0.90666664</matchStrength>
<threshold>0.85</threshold>
</fuzzyMatchDetails>
</duplicate>
</MatchResult>
<MatchResult status="ALREADY_LINKED">
<entity>
<contact>
<id>2</id>
<name>mike</name>
<city>chesterbrook</city>
</contact>
</entity>
</MatchResult>
| Element | Definition |
|---|---|
| matchRule | Match rule whose application resulted in a match (if there was a match). |
| status | Status of the match. Read Match result status definitions for more information. |
| entity | Contains a copy of the entity as it appeared in the request body. |
| match | Each matching golden record not yet linked to an entity in the source system. The id is the system golden record ID |
| duplicate | Each matching golden record already linked to an entity in the source system. The id is the system golden record ID |
| fuzzyMatchDetails | Indicates fuzzy matching is specified for the match or duplicate record.
|
Match result status definitions
| Status | Definition |
|---|---|
| SUCCESS | Request was successfully processed. |
| FAILED_TO_RUN | Internal error occurred. |
| TOO_MANY_MATCHES | There are 10 or more matching elements (1,000 or more in the case of an exact matching expression grouped with a fuzzy matching expression). |
| ALREADY_LINKED | Entity is already linked to an entity in the source system. |
| MATCH_REFERENCE_FAILURE | Entity matches on a reference field but the field value does not resolve to a golden record. The response omits the match element and includes a message with details about the match reference failure. |