Skip to content

Add GoBackTo state transition #68

@JakBlack

Description

@JakBlack

Right now, it's hard to separate long flows into states because there's no way to return to core state via history
It's possible to launch these long flows in one state and separate flow into states with separate state machine, but that adds extra comlexity

Add GoBackTo transition, which will find specified state in state history and go back to it, clearing any intermediate state from history
Need to come up with error handling in case specified state isn't found in state history, proposed solution - log an exception, exit the state machine

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedhelp wanted from community

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions