Starting with the Winter '26 release, if an Apex Action is added to the Run Immediately (immediate) path of a record-triggered Salesforce Flow, you may be unable to save the flow. Instead you see the following error:
"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. You must place this action in an asynchronous path. Add an asynchronous path in the Start element."
This article explains how to resolve the "transaction-controlled actions" save error by configuring the Apex Action's Transaction Control setting.
Apex Actions that are transaction-controlled must run in an asynchronous path rather than the Run Immediately path of a record-triggered flow. If the action's Transaction Control setting isn't configured to run in the current transaction, Salesforce blocks the save.
When this option is selected, the action always executes in the current transaction. If the action involves a callout while the current transaction has pending operations, the flow fails.
005167102

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.