paed01/bpmn-engine

persistent a flow

Closed this issue · 2 comments

Is there a way to persistent the process that is being executed and be able to recover from the state it was in at that time. I'd like to have persisted data in a file or in a postgresql database. Thanks!

Yes. Use engine.getState() and when feasible engine.recover(state).resume(). Documented here.

Thank you very much!