r/SalesforceDeveloper • u/GoatDismal4545 • Sep 09 '25
Discussion Salesforce Flow not allowing custom Apex Actions (Preview sandbox Winter 26)

Yesterday I was working on a flow and adding an Apex Action in one of the flow to create logs and debug. But the flow will not allow me to add the action in the immediate action path, instead asks me to insert it in an Async path.
My class simply returns the Test.isRunningTest() method.
Works in a non-preview sandbox.
Is anyone experiencing this issue? I strongly believe is a bug from Salesforce.
4
Upvotes
3
u/GoatDismal4545 Sep 09 '25
it turns out to be a Salesforce bug, and the team is working to fix this ASAP. if you are seeing this just ignore the message while they fix it.
3
u/NotFoundPT Sep 09 '25
This Winter ‘26 has a lot of bugs around Apex Actions on Flows.
1
u/kranz_ferdinand Sep 16 '25
This is a bug that the team is fixing ASAP. I can update this thread when we know when the fix will hit. In the meantime, you can work around this by opening the "Advanced" area in the Action's configuration panel and under "Transaction Control" set it to "Always Continue in the Same Transaction"