Replies: 1 comment
-
@sinceow Did you figure out the problem? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to customize a workflow using the StateMachine from the LoanApplicationWorkflow example. Because the state of the StateMachine has already been changed in the QueryMethod, if an exception is thrown in a subsequent Activity, I won't be able to re-enter that Activity due to transaction limitations. Therefore, I attempted to wait for the result of the activity to be normal in the Execute method before executing the transaction. However, I found that the state is reset to 'created' every time.
The code before:
The code after:
Beta Was this translation helpful? Give feedback.
All reactions