The default for context is still to use memory which doesn't survive restarts.
So what you can do is to define that for that variable you want to use memory connect store
eg
flow.set("count", 123, storeName);
The default for context is still to use memory which doesn't survive restarts.
So what you can do is to define that for that variable you want to use memory connect store
eg
flow.set("count", 123, storeName);