nerdexam
Salesforce

PDI · Question #104

Which statement describes the execution order when trigger are associated to the same object and event?

The correct answer is B. Trigger execution order cannot be guaranteed. When multiple Apex triggers are associated with the same object and event, Salesforce does not guarantee a specific execution order.

Submitted by ravi_2018· Apr 18, 2026Logic and Process Automation

Question

Which statement describes the execution order when trigger are associated to the same object and event?

Options

  • ATriggers are executed in the order they are created..
  • BTrigger execution order cannot be guaranteed.
  • CTriggers are executed in the order they are modified
  • DTriggers are executed alphabetically by trigger name.

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    87% (33)
  • C
    3% (1)
  • D
    8% (3)

Why each option

When multiple Apex triggers are associated with the same object and event, Salesforce does not guarantee a specific execution order.

ATriggers are executed in the order they are created..

Salesforce does not guarantee that triggers will execute in the order they were created.

BTrigger execution order cannot be guaranteed.Correct

Salesforce explicitly states that the order of execution for multiple triggers on the same object and event (e.g., before insert, after update) cannot be guaranteed and developers should design triggers to function independently.

CTriggers are executed in the order they are modified

Salesforce does not guarantee that triggers will execute in the order they were modified.

DTriggers are executed alphabetically by trigger name.

Salesforce does not guarantee that triggers will execute alphabetically by trigger name.

Concept tested: Apex trigger execution order

Source: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm

Topics

#Apex Triggers#Trigger Execution Order#Platform Automation

Community Discussion

No community discussion yet for this question.

Full PDI Practice