Skip to Content
avatar image
Former Member

Mass update in MDM 7.1 using MDM Java API

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 18, 2017 at 09:20 PM

    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

    Add comment
    10|10000 characters needed 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