I wanted to redirect the user from LWC. LWC is embedded in the same flow, I tried the following,
import { FlowNavigationStartEvent } from 'lightning/flowSupport';
handleGoToStart() {
const event = new FlowNavigationStartEvent();
event.fire();
}
<template>
<div>
<button onclick={handleGoToStart}>Go to Start Screen</button>
</div>
</template>
basically, business flow is like this,
flow_screen 1 => flow_sceen 2 => flow_screen 3 (here lwc is embedded the flow footer buttons are hidden. I want to go to the first screen from lwc button)