Skip to main content

I'm trying to track down a glitch in a process that throws the error Error element myRule_1_A1 (FlowRecordCreate).

This error occurred when the flow tried to create records: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY: npsp.TDTM_Opportunity: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: [] Class.npsp.UTIL_DMLService.insertRecords: line 104, column 1 Class.npsp.TDTM_TriggerHandler.processDMLAllOrNothing: line 240, column 1 Class.npsp.TDTM_TriggerHandler.processDML: line 221, column 1 Class.npsp.OPP_CampaignMember_TDTM.run: line 112, column 1 Class.npsp.TDTM_TriggerHandler.runClass: line 183, column 1 Class.npsp.TDTM_TriggerHandler.run: line 105, column 1 Class.npsp.TDTM_Config_API.run: line 86, column 1 Trigger.npsp.TDTM_Opportunity: line 33, column 1. You can look up ExceptionCode values in the SOAP API Developer Guide.

I'm checking that I (Sys Admin) have access to all the objects and fields involved in the process even though I also have "Modify All" permission. On the opportunity, the field Account Name has Field level security set to Visable, but Accessibility settings show as Read only and cannot be edited. This process has worked well for quite some time and just started throwing the error in May 2019. Can't think of anything else that has changed except for our org moving users to Lightning. Any thoughts?

5 respuestas
  1. 15 jul 2019, 21:03

    Thomas, sorry for the delay, I'm just getting back to this. Yes, I have automatic CM management turned on and yes, there is a primary campaign source and contact.