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
blake.tanonblake.tanon 

Question about SFDC Limits

In regards to the system limitations within apex, are the limits reset for each trigger that i run in a process?  Or do the limits take an aggregate of all triggers run independantly on the object?

 

i.e. If I update an event

Trigger 1 fires & completed without running any other triggers

Trigger 2 fires & completed without running any other triggers

-are these 2 sets of limitations or one?

Best Answer chosen by Admin (Salesforce Developers) 
Sean TanSean Tan

Trigger limits are always in the context of the initial operation that caused them to occur and are shared.

 

So to your specific case specifically, if both triggers are firing due to the update of an Event, they share the limits with each other.

All Answers

Sean TanSean Tan

Trigger limits are always in the context of the initial operation that caused them to occur and are shared.

 

So to your specific case specifically, if both triggers are firing due to the update of an Event, they share the limits with each other.

This was selected as the best answer
bob_buzzardbob_buzzard

They are a single set of limits as they are both in the same execution context, which you can think of as a transaction when saving records.

Bhawani SharmaBhawani Sharma
These limits apply on transaction. Doesn't matter how many components are running in that request, limit will be shared by all.