If you recently used the custom lookup component while working on Salesforce Flows and get this error.
We can’t display component ‘flowruntime:lookup’, because it isn’t supported in Classic runtime.
Chances are you still are on Classic. The component only works on Lightning. An easy fix is to enable the Lightning runtime 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.
Hey, i’ve enabled the setting mentioned above still it runs in classic runtime, HELP!!
Visualforce-embedded flows always run in Classic runtime but there is a way around it.
If you want your flow to render in Lightning runtime in your Visualforce page, embed the flow Aura component to your Visualforce page.
Refer the document :
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_flows_lightningruntime.htm
Thanks!