You need to sign in to do that
Don't have an account?
smita bhargava
How to call lightning component from visual flow
I have created a flow and its working fine.
Now in the flow on a screen I have a link , when I click this link it should call a lightning component.
But when I click this link it isthrowign an error as
"We can’t display component 'c:MyComponent', because it isn't supported in Classic runtime. Ask your Salesforce admin to distribute this flow in Lightning runtime instead."
thanks
sheila
Now in the flow on a screen I have a link , when I click this link it should call a lightning component.
But when I click this link it isthrowign an error as
"We can’t display component 'c:MyComponent', because it isn't supported in Classic runtime. Ask your Salesforce admin to distribute this flow in Lightning runtime instead."
thanks
sheila
Best Answer chosen by smita bhargava
Raj Vakati
You need to Enable Lightning runtime to use the lightning component in flows
- From Setup, enter Process Automation Settings in the Quick Find box, then select Process Automation Settings.
- Select Enable Lightning runtime for flows.
- Save your changes.