j-easy / easy-flows

The simple, stupid workflow engine for Java
https://github.com/j-easy/easy-flows/wiki
653 stars 216 forks source link

Persistence for long-running/async steps? #28

Open TheGeekPharaoh opened 1 year ago

TheGeekPharaoh commented 1 year ago

I love this library! It's so much simpler to use than the others I've tried. Any chance you'd consider adding simple persistence for long-running or asynchronous tasks? I'm thinking things like an approval step where you'd need to wait (potentially a very long time) for an action to complete then pickup where you left off. Thoughts?

sandeep-equal commented 1 year ago

@TheGeekPharaoh This beauty of this library is simplicity. Could you explore AWS Step Functions for long-running and Async tasks?

julienlau commented 1 year ago

Hi, The persistence, HA, and or behavior of easy-flow if a restart is necessary is not very clear from the doc. Since it's simplicity oriented, I assume that it does not use any storage backend for its state which would mean that on restart the current state is lost. Is it right ?