How to persistent the state of machine?
How to persistent the state of machine?