• Scott Wong 12
  • NEWBIE
  • 5 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hi There,


I have a Salesforce Process that automatically changes a Contact's Owner to match the Account Owner upon Account Owner Change. 

This process seems to be getting tripped up by a Marketo Trigger from the Marketo Sales Insights Managed Package, but I cannot see the code behind it to troubleshoot. Here is the error message I get: 

"UPDATE --- UPDATE FAILED --- ERRORS : (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY) mkto_si.RemoveInterestingMomentLinebreaksContact: System.LimitException: Apex CPU time limit exceeded" 

I wrote to Marketo and they said this:

"The Apex CPU trigger is actually within Salesforce. As we do not have any access to drill down into Salesforce, we cannot fix it. Marketo isn't causing the Apex trigger, Marketo is trying to update a field within Salesforce and the Salesforce Apex CPU time out is happening before Marketo's update can process. This is why you are getting the update failed error. "

My gut says it's because the code within the trigger, but I can't see it because it's a managed package.

Anyone have any work around for this? I am just updating ~100 account records so I'm not sure why this would be timing out. 

Hi Team, Need your guidance on troubleshooting. I wrote a process builder rule to update all related contact and lead, when a lookup user field on account is updated. I am getting the CPU time limite exceeded error for one account which has close to 1800 related records. I went through the debug logs - the CPU limits stays at 0 till it enters managed package, but spikes suddenly after entering managed package. The managed package is from Marketo (trigger - mkto_si.RemoveInterestingMomentLinebreaksContact) and they are saying that this is something to do with codes in my org. Any one experienced this? I have attached the debug log for reference....User-added image