workflow-core icon indicating copy to clipboard operation
workflow-core copied to clipboard

Can we support a rollback mechanism?

Open phuchm opened this issue 2 years ago • 1 comments

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

phuchm avatar Jan 08 '24 06:01 phuchm

You can achieve that by combining saga and compensate with retry.

axelgenus avatar Jan 30 '24 14:01 axelgenus