Skip to content

LWR-compatible Flow Local Action for Screen Flow navigation in Salesforce. Supports 9 destination types across Lightning Experience and Experience Cloud.

License

Notifications You must be signed in to change notification settings

chase-rpa/Pathfinder

Repository files navigation

Pathfinder (LWC)

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 NavigationMixin for cross-container compatibility.

What It Does

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

Quick Start

Prerequisites

  • Salesforce org with API version 65.0+
  • Salesforce CLI (sf) installed

Deploy

sf project deploy start --source-dir force-app

Use in Flow Builder

  1. Open a Screen Flow in Flow Builder
  2. Add an Action element
  3. Search for pathfinderAction
  4. Configure input parameters for your destination type

Documentation

See the component README for full configuration details, usage examples for all 9 destination types, troubleshooting, and LWR compatibility notes.

Development

Setup

npm install

Commands

# Run unit tests
npm run test:unit

# Run tests with coverage
npm run test:unit:coverage

# Lint
npm run lint

# Format
npm run prettier

Code Quality

Pre-commit hooks (Husky + lint-staged) automatically format, lint, and run related Jest tests on every commit.

License

MIT

About

LWR-compatible Flow Local Action for Screen Flow navigation in Salesforce. Supports 9 destination types across Lightning Experience and Experience Cloud.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages