function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
lainchburylainchbury 

Will an apex trigger that updates fire workflow?

Hi guys

 

I have some workflow that runs when an object (Reference__c) is updated. This obviously works fine when a user updates the object.

 

If an Apex Trigger is run on a related object (Tenant__c) and that trigger updates the Reference__c object, will the workflow on Reference__c fire?

 

Thanks for your help,

 

Paul

Ritesh AswaneyRitesh Aswaney

Yes, the workflow will trigger. Whether or not it will carry out the field update or any other configured action will depend on the workflow rule criteria and any logic in the actual field update.