Activity Forums Salesforce® Discussions What is an Apex Transaction in Salesforce?

  • Marziya

    Member
    January 22, 2020 at 2:31 pm

    Hii Ratnesh,

    An Apex transaction represents a set of operations that are executed as a single unit. All DML operations in a transaction either complete successfully, or if an error occurs in one operation, the entire transaction is rolled back and no data is committed to the database. The boundary of a transaction can be a trigger, a class method, an anonymous block of code, a Visualforce page, or a custom Web service method.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos