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
kumar.apr10kumar.apr10 

How can a developer determine if the code is executed in a trigger context or not

How can a developer determine if a code is executed in a trigger context or not
SandhyaSandhya (Salesforce Developers) 
Hi,

Refer below link for similar discussion.

https://salesforce.stackexchange.com/questions/131140/dynamically-determine-calling-context
 
Best Regards,
Sandhya