You need to sign in to do that
Don't have an account?
Ross McLeod 3
Flow Lightning Component
Hi
Hopefully a quick and easy one. I'm trying to build a lightning component for use within a screen flow. I'm having issues getting the attributes from the component back to the flow.
This is the attribute on the component:
This is the Design File
In my flow form I can add the component and see the input and out put parameters.
I set up a flow variable, but I can't seet that when I try and assign from the flow component.
Any ideas?
Hopefully a quick and easy one. I'm trying to build a lightning component for use within a screen flow. I'm having issues getting the attributes from the component back to the flow.
This is the attribute on the component:
<aura:component access="global" implements="lightning:availableForFlowScreens"> <aura:attribute name="responseValue" type="Boolean" /> </aura:component>
This is the Design File
<design:component label="RUK Dialog Response Buttons"> <design:attribute name="responseValue" label="Dialog Response" /> </design:component>
In my flow form I can add the component and see the input and out put parameters.
I set up a flow variable, but I can't seet that when I try and assign from the flow component.
Any ideas?
Have you tried checking if it works if the available for output is checked?
Also, Have you checked the below links as they seem to have a similar issue:
>>https://salesforce.stackexchange.com/questions/273775/is-it-possible-to-return-a-value-from-a-lightning-component-to-a-flow/273790#273790
>>https://salesforce.stackexchange.com/questions/274131/pass-object-from-flow-to-lightning-component
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.