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.

  1. From Setup, enter Process Automation Settings in the Quick Find box, then select Process Automation Settings.
  2. Select Enable Lightning runtime for Flows.
  3. Save your changes.
lopau

2 responses to “Fix for flowruntime:lookup Error With Salesforce Flows”

  1. vikas says:

    Hey, i’ve enabled the setting mentioned above still it runs in classic runtime, HELP!!

  2. Surbhi Dubey says:

    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!

Leave a Reply

Your email address will not be published. Required fields are marked *