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

success transition should not rollback when there is state error #576

Open
pangtongs opened this issue Sep 11, 2018 · 0 comments
Open

success transition should not rollback when there is state error #576

pangtongs opened this issue Sep 11, 2018 · 0 comments

Comments

@pangtongs
Copy link
Contributor

Hi. I want to understand the usage of success transition.

In my understanding, it should be a perfect fit for use cases like notification/ sending email after the transaction completed.

However, using this state for notification will result that if there is error in that notification block of code, the state will rollback and go to previous state.

I think the intended behavior that I want to achieve here that it should not rollback to the previous state on cases like this because if the notification failed, we don't care about its status and the state should be in the final state.

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

1 participant