create Key Mapping
I am trying to create a KeyMapping for the MDM records, I was trying using the below code. I can see the code is getting executed fine. But no Key Mapping is added to the records
Record record = getTestRecord(connection);
RecordId recordID = mdmMatchingConnection.createRecord(record);
RecordKeyMapping recordKeyMapping = KeyMappingFactory.createRecordKeyMapping(connection.getMainTable(),recordID);
KeyMapping keymap = KeyMappingFactory.createKeyMapping(getRepoSchema().getRepositorySchema().getRemoteSystemId("TEST_220"));
Any suggestions would be really great!.