I would like for a record triggered flow to trigger after a calculated rollup occurs that updated the value of the field on the parent object (Coach). It is currently not triggering upon change, even though I have added the 'Is Changed' to the Entry Criteria for the flow. Should this be triggering, or do I need to add the DLRS action to the flow to calculate the fields (again) in the flow?
I have previous added in these actions, but it seems redundant. Are they still needed?
#Automation #Flows
Record-triggered flows in Salesforce do not automatically trigger when a Declarative Lookup Rollup Summary (DLRS) field updates unless that update happens as part of a standard Salesforce operation (e.g., record edit and save by a user). Since DLRS updates records asynchronously in many cases, Salesforce may not register the change as a normal record update, preventing the flow from triggering.
You can try either of these solution Options (I usually prefer solution-2 for myself):
- Enable Realtime Calculation in DLRS: If your DLRS is set to run in scheduled or developer mode, it won’t trigger a flow. Instead, set it to realtime mode so that the rollup recalculates when related child records change. This will ensure the record-triggered flow fires upon update.
- Use a Scheduled Flow Instead: If real-time DLRS calculation isn't an option, create a scheduled flow that runs periodically (e.g., every hour) and checks if the rollup field has changed.
- Workaround with a Helper Field: If DLRS updates do not register for flows, create a helper checkbox field like Rollup_Updated__c. Modify DLRS to check this box when the rollup updates, and then use this field as the trigger for your flow.
Let me know if these work for you.