LWR and Flows – Compatibility Issues Between LWR and Visual Flows

communityexperience-cloudlightning-web-componentslwrvisual-flows

Just looking at this Experience Cloud documentation for the first time LWR – Differences in Behavior and it looks appealing where you want to build all of the UI yourself to have fine grained control, and also pick up performance benefits.

We have some existing flows that are primarily used to allow additional processing steps to be introduced i.e. each flow screen corresponds to an individual LWC with the flow conditions primarily determining where to go next.

Am I correct in assuming that these two things do not fit together today?

PS

This video reviews Building custom navigation and footers for LWR sites explains how to leverage some of the declarative parts of the builder and incorporate that data into custom navigation. So offers a bit, at least for entry point pages.

PPS

If I'm interpreting this IdeaExchange idea and this Use Flows in LWR Sites documentation correctly, flows do now work in LWR.

Best Answer

As of Spring 22, LWR Experience Cloud Sites do not have a Flow component available to it's builder, nor is there a way to run a Screen Flow directly from an LWC (not without being coupled with an Aura component)

An autolaunched flow could be triggered by apex that is invoked by the LWC but I don't think that's what you're looking for.

In a Summer 22 Sneak Preview Post on Unofficialsf, there is a mention that LWR sites will support a Flow component in the builder (with some considerations about flow features that require aura won't work). I haven't yet been able to validate in my prerelease org, but worth noting and looking for

Related Topic