All state machine execution to be persisted and later restored
Would be great to persist the FSM execution somewhere automatically, then restore it later. This would be very handy for my current task of modelling an ordering system
one think that i think of is when running state machine in a cluster and node crash to be able to pick it up from backup node in the cluster
for that persisting or ability to integrate with second level cache and come handy
for example serializing the state in redis, and restoring from redis in case of disaster.
Thanks for the suggestion.
Have you tried using an ORM, and pointing the state machine to one of the mapped fields using the overloaded constructor? There's an example in Hg called Bug Tracker that shows the general idea.