workflow-core
workflow-core copied to clipboard
Can we support a rollback mechanism?
It will be helpful if this library has a rollback mechanism.
For example: My workflow includes below steps:
WriteReport -> Send to Approver -> Wait for approval (we can setup waiting time, if over, finish workflow) -> If success -> Send email and finish -> On the other hand, if failure, go back to write report step
You can achieve that by combining saga and compensate with retry.