Newer Version Available
Reference Flow Output Variable Values in a Wrapper Aura Component
When you embed a flow in an Aura component, you can display or reference the
flow’s variable values. Use the onstatuschange
action to get values from the flow's output variables. Output variables are returned
as an array.
Example
This example uses the JavaScript controller to pass the flow's accountName and numberOfEmployees variables into attributes on the component. Then, the component displays those values in output components.