Skip to Content
0
Former Member
Nov 25, 2008 at 09:38 AM

Questions on Java API for matching function

17 Views

Hello,

I am using Java API to call matching strategy in MDM. The version is 5.5.63.80.

The class I use is: ExecuteMatchingStrategyForNewRecordValuesCommand

After successfully .execute(), I also get task ID by .getMatchingTaskId()

Problem happens when retriving matching result. There are two functions to do this.

RetrieveMatchedRecordsCommand

RetrieveMatchingResultCommand

I got error message "invalid parameter" for both of them.

For either function, I need to set source.

setSource(RecordId[] recordIds)

setSource(Search search)

However, the source is external source records. It should not have RecordID.

I tried to create a Search instance without any constrain. Same error happens.

Anyone has experience on ExecuteMatchingStrategyForNewRecordValuesCommand???

Many Thanks.

Dale