spring-projects / spring-statemachine

Spring Statemachine is a framework for application developers to use state machine concepts with Spring.
1.54k stars 607 forks source link

Maybe this is a potential requirement: to rollback(reverse) the state in SSM #1108

Open otailai opened 1 year ago

otailai commented 1 year ago

I have a problem when using the Spring Statemachine, here is the detail:

I create two different statemachines before. However, they are both need to move forward in one transaction according to a brand new process.

When the first state moves on successfully, if the second one was failed due to some business issues, I need to rollback the state of the first one. How can I do it automatically or mannually?

Anyone can help?