Only record-triggered flows are executed before the 'before triggers'. We have 'Process flow' in the task. 'Salesforce Flow automations' are run after triggers:
3.Executes record-triggered flows that are configured to run before the record is saved.
4.Executes all before triggers.
11. Executes workflow rules.
13. Executes these Salesforce Flow automations, but not in a guaranteed order.
- Processes
- Flows launched by processes
- Flows launched by workflow rules (flow trigger workflow actions pilot)
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm
Wrong aswers, You can not decide on any of them.
Because before flows executes firstly, then before triggers, then after triggers, then workflow rules then after-flows and processes.
So no answer is correct
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm
3. Executes record-triggered flows that are configured to run before the record is saved.
4. Executes all before triggers.
8. Executes all after triggers.
11. Executes workflow rules
19. Commits all DML operations to the database.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
irina_735
1 year, 1 month agocosmin111222
1 year, 1 month agocosmin111222
1 year, 1 month agogsori
1 year, 3 months ago