What happens when a user updates a record after a developer creates a Workflow Rule declaratively that updates a field on an object?

a. No changes are made to the data
b. Both the Apex Trigger and Workflow Rule are fired only once.
c. The Workflow Rule is fired more than once
d. The Apex Trigger is fired more than once.

Respuesta :

Answer:

d. The trigger is fired more than once.

Explanation:

What would happen in this situation is that the  trigger would be fired more than once. This is because the trigger will be fired when the user updates the record. It will also be fired when the process builder is run.

If the trigger fires more than once, this can be problematic for the developer. Therefore, it is better if the trigger fires just once, as this is the time when the present changes can be placed.