Monthly Archives: July 2014

Trigger.isExecuting Usage in Salesforce

In brief Trigger.isExecuting determines if the context is trigger or Visualforce. If it returns true context is trigger otherwise context is Visualforce or other. In your case Trigger.isExecuting will return true. Apex Class public class TriggerContextDemo {   public Boolean updateContact(Contact[] conList)   {      // … Continue reading

Posted in Trigger | 1 Comment