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
Graham Dix 8Graham Dix 8 

I'm trying to use Process Builder and Flows to replace triggers where ever possible. Given this new functionality, where should I still be considering triggers as the best option?

I'm keen to use and advise people to use Process Builder where ever possible as I believe it is easier to maintain than a trigger. However I need advice on where a trigger should always be considered as option number one. Any thoughts or advice gratefully received. 
Best Answer chosen by Graham Dix 8
Jason Curtis NBSFDGJason Curtis NBSFDG
Process builder is not bulkified yet, so when you think your process might be handling a large amount of records, you should probably turn to a trigger.
Here is a great comparison post: https://help.salesforce.com/apex/HTViewHelpDoc?id=process_which_tool.htm&language=en_US (https://help.salesforce.com/apex/HTViewHelpDoc?id=process_which_tool.htm&language=en_US)