cancel
Showing results for 
Search instead for 
Did you mean: 

Mass update in MDM 7.1 using MDM Java API

Former Member
0 Kudos

Hello Experts,

I'm trying to mass update records using ModifyRecordsCommand. While doing this, i got a failure Message as : "One or more destination records is protected". I'm able to update records 1 at a time using ModifyRecordCommand, but unable to update/modify multiple. I got this same error while using ModifyRecordCommand, but using modRec.setModifyAnyway(true) solved the problem. This command is not available for ModifyRecordsCommand.

I have read in multiple places to update the ChangedTimestamp. But how do we modify that? It's a system generated field right.

Can you please help here.

Thanks,

Sowmya

Accepted Solutions (0)

Answers (1)

Answers (1)

cweissheimer
Advisor
Advisor
0 Kudos

Protected records cannot be changed. You will need to make sure there are no protected records when performing the change, or check if the record is protected and use the UnprotectRecordsCommand command beforehand.

Best Regards,

Carlos Weissheimer

Former Member
0 Kudos

Hi Carlos,

Thanks for responding. I have already checked that, the record is not protected. Is there any other possibility why i'm getting this error?

Best Regards,

Sowmya