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
Ashima nidhiAshima nidhi 

Fail to pass Value from Lightning Component to Flow

I am passing the values from lightning component to flow using Design Attribute.

On Loading Flow 1 Screen, I am not getting the values of that attribute passed from lightning component to flow , But when I click on next i.e screen I can see the same value.

Again if I click previous then the values are getting blank.

Is there anything i am doing wrong
Danish HodaDanish Hoda
Hi Ashima,
design attribute is used to get the values into Lightning component from flows/lightning App builder ertc. but not sure if it can be used for the other way round.
If it can be done, plz check if you are setting the attributes value in doInit() method of th ecomponent, so that your Screen1 gets the value on load.
Ashima nidhiAshima nidhi
Tried the same but its not going though
Danish HodaDanish Hoda
Will need to check your org, if possible plz ping me on skype<danish.hoda>/linkedIn (https://www.linkedin.com/in/danish-hoda-b0796624/