Skip to main content
Jared Zhang a publié du contenu dans #Nonprofit Success Pack

Hi folks,

 

In the process of migrating a few thousands of records via Data Loader, this is the error I'm getting. Any idea to resolve this trigger issue?

 

CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY:npsp.TDTM_Contact: System.LimitException: Apex CPU time limit exceeded

3 commentaires
  1. 1 juil. 2019, 19:20

    Very helpful, thanks @Jared Zhang​. It looks like in addition to NPSP, when a Contact is created Exponent Case Management's triggers are also firing. We did some work in the release that went to sandbox last week and will be heading to production tomorrow that optimizes what happens when you insert records with addresses. That might help. Otherwise, I would investigate what's happening with ECM and see if there's a way to optimize. You might also try a much, much, much lower batch size in Data Loader (like 25 or less) and see if that helps.