Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 157 discussion

Actual exam question from Salesforce's CRT-450
Question #: 157
Topic #: 1
[All CRT-450 Questions]

What is the order of operations when a record is saved in Salesforce?

  • A. workflow, process flows, triggers, commit
  • B. process flows, triggers, workflow, commit
  • C. triggers, workflow, process flows, commit
  • D. workflow, triggers, process flows, commit
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
irina_735
1 year, 1 month ago
Selected Answer: C
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
upvoted 2 times
...
cosmin111222
1 year, 1 month ago
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
upvoted 2 times
cosmin111222
1 year, 1 month ago
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm
upvoted 1 times
...
...
gsori
1 year, 3 months ago
Selected Answer: B
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
...
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.

SaveCancel
Loading ...