Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we support a rollback mechanism? #1224

Open
phuchm opened this issue Jan 8, 2024 · 1 comment
Open

Can we support a rollback mechanism? #1224

phuchm opened this issue Jan 8, 2024 · 1 comment

Comments

@phuchm
Copy link

phuchm commented Jan 8, 2024

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

@axelgenus
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants