Ask Search:
Sun SiLiangSun SiLiang 

passing parameter from flow screen element to its lightning component field

Hey guys, I got a problem when transfering the parameter from flow screen element to its lighting component field. As you can see in my screenshot, I can not find the attribute that I defined in my component when I tryed to set the input parameter in field settings.
Does any body know what's wrong with this? Thanks a lot.

User-added image
User-added image
Best Answer chosen by Sun SiLiang
Sun SiLiangSun SiLiang
I found the problem.
If we want aura:attributes accessible in the Cloud Flow Designer UI, we need to create design file and define attributes in it too. Check the refrenece below.
https://developer.salesforce.com/blogs/2018/01/spring-18-for-developers-flow.html(Spring ’18 for Developers: Go with the Flow Like Never Before)