Activity Forums Salesforce® Discussions Why we used isExecuting in trigger in Salesforce?

  • Why we used isExecuting in trigger in Salesforce?

    Posted by Pooja on February 20, 2020 at 2:39 pm

    Why we used isExecuting in trigger in Salesforce?

    Aditya replied 5 years ago 2 Members · 1 Reply
  • 1 Reply
  • Aditya

    Member
    February 20, 2020 at 4:29 pm

    Trigger. isExecuting is to determine that your current context for the Apex code is a trigger, not a Visualforce page, a Web service, or an executeanonymous() API call. Here is an example of Apex Class, this class can identify current context for the Apex code is a trigger using Trigger

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos