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
MandyKoolMandyKool 

Single Apex Transaction.

Hi All,

 

I have heard the term "Single Apex Transaction" several times.

eg. A Single Apex Transaction can make max of 10 callouts.. etc.

 

Can anybody define what exactly this "Single Apex Transaction" means  or to be precise the scope of "Single Apex Transaction"?

 

Thanks,

Mandar.

_Prasu__Prasu_

A single transaction will include all related actions fired due to your first action. 

i.e consider if your 1st action has fired any single trigger, and this trigger is invoking another. and so on...

which is also firing a workflow in between etc. which also invoke another set of triggers.

 

So this complete execution cycle will be said as single transaction.

MandyKoolMandyKool

 

Thanks prasu for your explanation!!!!

 

I just wanted it in proper words to write it in doc, anyway thanks for your reply.

 

Thanks,

Mandar.

 

 

 

b-Forceb-Force

Thanks guys,

 

finally all four posts are originated from single source.

In action Prasu, Mandar  and me too ..... be on community guys .

 

Cheers,

Bala

G_G_

Thanks this answer my question too! Now if only I could increase the callout limit as I have several (more then 10) 3rd party APIs to call.

A single Apex transaction can make a maximum of 10 callouts to an HTTP request or an API call.