You need to sign in to do that
Don't have an account?
Ken Koellner 8
Firing Triggers from Process Builder and Workflow Field Updates.
Quesiton about save order. This documentation is critical for understanding -- https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm
So I did an experiment. I have a trigger on an object. I put Process Builder process on the update that does an update record to set a field on the record. When I update a record, a second DML fires and the trigger gets fired twice, once from the original update and once from my field update.
I did the same thing with workflow and my trigger only fired once. Not sure if I did something wrong. The document says that triggers are run again in both cases but it looked like my workflow field update worked.
So I did an experiment. I have a trigger on an object. I put Process Builder process on the update that does an update record to set a field on the record. When I update a record, a second DML fires and the trigger gets fired twice, once from the original update and once from my field update.
I did the same thing with workflow and my trigger only fired once. Not sure if I did something wrong. The document says that triggers are run again in both cases but it looked like my workflow field update worked.