gocardless / statesman

A statesmanlike state machine library.
https://gocardless.com/blog/statesman/
MIT License
1.78k stars 163 forks source link

[Question] Is there an easy way to rollback a transition? #459

Open leandrofinger opened 2 years ago

leandrofinger commented 2 years ago

Hi guys!

After transitioning and depending on the record I should run an integration call and depending on this response I need rollback the last transition. Is there an easy way to do that, or should I allow the transition backward and transition it again?

dmitry commented 1 year ago

At least what I know: