+ Start a Discussion
smitrasmitra 

Is there any limit for Trigger execution for a single record

When trigger gets executed for single record is there any chance to hit the limit of Trigger execution If we consider the Trigger will be executed for several time in a day.(After insert, After update).Everytime trigger is executed a @future call is made but the trigger is designed like each time it will process only one record.



 
Prabhat Kumar12Prabhat Kumar12
Hi Samitra,

Governer LIMIT of trigger depends on many things. If its a single record processing still chances are to hit governer limit.

Here are some possible reason.

1. Workflow rules - Workflow rules cause trigger to run multiple time and that can hit governer limit.
2. Roll Up Summary - Roll Up summary can cause trigger to run multiple times.
3. SOQL 101 error - If your is getting fired because other trigger.

Its always good to follow trigger best practices weather you are writing trigger for one record or for multple record processing.