How to stop execution of init of a journey when journey is triggered

Hi,

I have this code to go back one step in the current journey:
if (msg && msg.match(/^back$/i) && msg.length < 5) {
const steps = {
name: app.context.steps.name,
email: app.context.steps.email,
skipInit: true,
};
return app.triggerIntent(app.context.intent, {}, steps);
}

skipInit has been set to true, but its still getting executed.How to avoid that pls?

Thanks.

1 Like

Hello @Jaya_Banbah ,
Can you please book an office hours slot using this link: Calendly - Pratik Parmar

Our team will be happy to jump on a call and resolve all of your queries.

1 Like

Thank you! :slight_smile:

I have booked the call time.
It’s really interesting restriction to reply more than a certain number of characters, :grinning:

1 Like