+ Start a Discussion
Bill Bell 3Bill Bell 3 

Order of Triggers and Process Builder

New to Salesforce.

I'm creating a fairly complex process in Process Builder on the Opportunity object.  When the record is saved I want to trigger and calculated some dates and do a few other checks to make sure only valid option types are entered.  Therefore, I want Process Builder to run after I do the Save trigger.  I couldn't find any documentation on this.
Best Answer chosen by Bill Bell 3
UC InnovationUC Innovation
Hi Bill,

Welcome! According to the documentation on Triggers and Order of Execution (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm), it looks like what you want to accomplish can be done using the trigger as you mentioned as well as a validation rule(s) to do the checks. You might want to read up on the OOE that might be the direction you want to go in. If I understand your requirements, I believe salesforce already executes in the order that you want it to. This is good news!

Feel free to ask any further questions on the matter. I will be more than happy to help you out.

Hope this helps!

AM

All Answers

UC InnovationUC Innovation
Hi Bill,

Welcome! According to the documentation on Triggers and Order of Execution (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm), it looks like what you want to accomplish can be done using the trigger as you mentioned as well as a validation rule(s) to do the checks. You might want to read up on the OOE that might be the direction you want to go in. If I understand your requirements, I believe salesforce already executes in the order that you want it to. This is good news!

Feel free to ask any further questions on the matter. I will be more than happy to help you out.

Hope this helps!

AM
This was selected as the best answer
macshot macshotmacshot macshot
Customers who are in need of a repair ought to contact an Authorized Apple Service Provider, https://www.macmyth.com/2018/02/apple-launches-iphone-7-repair-program.html  go to an Apple retail store, or get in contact with Apple aid. Apple may be sending all iPhone 7 models in want of restore to an Apple Repair Center.