Loading

Unable to Save Flow with Apex Action in Immediate Path After Winter 26 release

게시 일자: Sep 12, 2025
상세 설명

If an apex action is being added to the immediate path of flow and unable to save and getting following error message. Please follow this article for resolution

 

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.

 

솔루션
  1. Open the Flow
  2. Open the Apex Action Element
  3. Click on "Show advanced options"
  4. Under "Transaction Control" make sure to Select "Always continue in current transaction".If anything of the other two is selected error will throw up

     
추가 자원

Always continue in current transaction:

 

This action is always executed in the current transaction. If the action involves a callout while the current transaction has pending operations, the flow fails. 
Knowledge 기사 번호

005167102

 
로드 중
Salesforce Help | Article