function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Peter Martensen 8Peter Martensen 8 

What makes a Flow Action local?

I have a Lightning component that I use in a Flow that opens the new record the Flow creates.  It works in a screen Flow, but not in an auto-launched Flow.  I get this error:  OpenNewRecord (Action Call) - The action type "Local Actions" can't be used in flows with the process type "Autolaunched Flow". 
Is there a way to change the component so that I can use it in an auto-launched Flow?
Best Answer chosen by Peter Martensen 8
Raj VakatiRaj Vakati
Yes .. You need to create only flow screen actions

All Answers

Raj VakatiRaj Vakati

auto-launched Flow. you cannt able to using in flow local action .. please refer this link fo rexample 

Refer this link 

https://rajvakati.com/2018/12/02/flow-local-actions-using-lightning-components/
Peter Martensen 8Peter Martensen 8
So there is no way to modify the component so it will run in an auto-launched Flow?
Raj VakatiRaj Vakati
Yes .. You need to create only flow screen actions
This was selected as the best answer
Peter Martensen 8Peter Martensen 8
OK!  I didn't know that I could create a Screen Flow without a screen.  I did that and it worked.  Thanks.