spring-projects / spring-statemachine

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

Is there a way we can configure states and transitions in declartive manner with Yaml or Json? #925

Open gituserjava opened 3 years ago

jvalkeal commented 3 years ago

Currently there is if you do it via persistent store, like shown in statemachine-examples-datajpa sample.

Trouble with real world use cases are that you anyway need to do provide real code to actually do something useful and thus having direct json/yml config kinda makes it pointless as you'd be better to do configs via code.

Did you have any use cases in mind?