Skip to Content
Former Member
Jun 03, 2010 at 01:00 PM

Problem with MDM strategy API


Hi Experts

I am using ExecuteMatchingStrategyCommand to find out the duplicats in MDM 7.1. This is working against existing values. If I give a record which doesn't exist in MDM I am getting the "illegal values for parameter" exception.I guess this was working fine with MDM 5.

Based on another thread I am using ExecuteMatchingStrategyForNewRecordValuesCommand to find out the new values. This is giving me length 1 eighter record exist or doesn't exist.

When I am trying to print this record I am getting NULL at matchingResults[0].getMatchedRecordResults(); statement.

But I am getting the matched record lenght 1 if I print the value using matchingResults[0].getMatchCount().

Could you please give any suggestion to achive this scenario.