I am unable to save a Flow with an Apex Action after the Salesforce Winter ‘26 release. What should I do?
Question
After the Salesforce Winter ‘26 release, when I try to add an Apex Action to the Run Immediately path on a record-triggered Flow, I can’t save the Flow. The following error appears:
“A record-triggered flow’s Run Immediately path can’t execute transaction-controlled actions. Remove this element from the flow, or move it to a scheduled path.”

Answer
This change is expected behavior introduced in Winter ‘26. Transaction-controlled actions (such as Apex Actions with certain settings) are no longer supported in the Run Immediately path. They must be placed in an asynchronous path instead.
How to fix the error
Open your Flow in Salesforce.
Select the Apex Action Element.
Click Show advanced options.
Under Transaction Control, set the option to Always continue in current transaction.
⚠️ If you choose either of the other two options, the Flow will not save, and the error will continue.

