Activity Forums Salesforce® Discussions What are the limitations of  Process Builder in Salesforce?

  • Shubham

    Member
    January 21, 2020 at 5:05 pm

    Hi Kirandeep,

    These are some limitations of process builder:-

    -Process Builders cannot handle before DML It executes after a record has been created or updated. Whereas Apex triggers can handle both before and after DML operations.
    -Process Builder cannot handle delete and undelete DML. Whereas Apex triggers can handle all DML operations.
    -An error reported in Process Builder is more generic which makes it difficult to find the origin of the error. With -Apex triggers, exception handling can be made more specific.
    -It is all or none in case of Process Builder failure. But with Apex triggers partial success is possible.

  • Manish

    Member
    January 21, 2020 at 5:15 pm

    Hi Kiran

    Few differences between process builder and Triggers:

    • we can not use process builder in before event on  DML, while in trigger we can.
    • We can not use process builder to delete or undelete records while in triggers we can.

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos