function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sam LimSam Lim 

process builder hitting cpu limit

Hi folks. I'm running Conga to update 300 records (this isn't a lot). The update is simply to set single checkbox on 300 opportunities to "True" and create a Task. However, it appears that some process builders are interfering with the process after waiting a couple minutes, it looks like nothing has updated. When I look at the console I see this error quite often: "13:33:30:000 LIMIT_USAGE_FOR_NS Maximum CPU time: 15391 out of 10000 ******* CLOSE TO LIMIT" . 

If I de-activate 2 process builders, the update seems to work fine for the 300 records. Is there a way I can make this entire thing run more efficiently?

I've saved debug logs if anyone needs to see them.
Khan AnasKhan Anas (Salesforce Developers) 
Hi Sam,

Please refer to the below link with a similar discussion which might help you with the above issue.

I hope it helps you.

Kindly let me inform if it helps you and close your query by marking it as solved so that it can help others in future.

Thanks and Regards,
Khan Anas​