Skip to Content
0

Mass update in MDM 7.1 using MDM Java API

Sep 18, 2017 at 07:27 PM

42

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Carlos Weissheimer
Sep 18, 2017 at 09:20 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0