You need to sign in to do that
Don't have an account?

lightning component embedded in flow how to pass record id
I have a lightning component embedded in a flow, how do I pass the recordId from the flow into the lightning component?
Everything I have found shows the old flow designer. The new lightning flow designer does not have an option to set input fields on the lightning component.
Thanks.
Everything I have found shows the old flow designer. The new lightning flow designer does not have an option to set input fields on the lightning component.
Thanks.
The interface of a lightning component is defined by the design resource where you defined the attributes to pass.
Configure Components for Flow Screens:
Make your custom Aura components available to flow screens in Flow Builder by implementing the lightning:availableForFlowScreens interface.
To make an attribute’s value customizable in Flow Builder, add it to the component's design resource.
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_flow_screens.htm
https://newstechnologystuff.com/2019/10/20/lightning-web-components-in-lightning-flow/