An LWR-compatible Flow Local Action that enables navigation from Screen Flows in both Lightning Experience (LEX) and Experience Cloud (LWR) sites.
Credit: Pathfinder is a ground-up LWC rebuild of the Navigate Everywhere Aura component by UnofficialSF. Navigate Everywhere does not work in LWR Digital Experience sites because LWR only renders Lightning Web Components. Pathfinder solves this by using pure LWC APIs and the
NavigationMixinfor cross-container compatibility.
Pathfinder lets Flow builders navigate users to any Salesforce page, record, URL, or app from within a Screen Flow — without writing code. It supports 9 destination types and works across both LEX and LWR containers.
| Destination Type | LEX | LWR |
|---|---|---|
object |
Yes | Yes |
record |
Yes | Partial (view only) |
url |
Yes | Yes |
app |
Yes | No |
namedpage |
Yes | Yes |
experiencepage |
No | Yes |
tab |
Yes | No |
knowledge |
Yes | Yes |
relatedlist |
Yes | Yes |
- Salesforce org with API version 65.0+
- Salesforce CLI (
sf) installed
sf project deploy start --source-dir force-app- Open a Screen Flow in Flow Builder
- Add an Action element
- Search for pathfinderAction
- Configure input parameters for your destination type
See the component README for full configuration details, usage examples for all 9 destination types, troubleshooting, and LWR compatibility notes.
npm install# Run unit tests
npm run test:unit
# Run tests with coverage
npm run test:unit:coverage
# Lint
npm run lint
# Format
npm run prettierPre-commit hooks (Husky + lint-staged) automatically format, lint, and run related Jest tests on every commit.
MIT