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.getMatchedRecordResults(); statement.
But I am getting the matched record lenght 1 if I print the value using matchingResults.getMatchCount().
Could you please give any suggestion to achive this scenario.