-
Notifications
You must be signed in to change notification settings - Fork 605
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
Transition with the same event in multiple regions #1111
Comments
I'm new to Spring state machine. I'm experiencing the same behaviour. |
I'm seeing something similar here. I can actually reliably trigger either both regions transitioning or only one by adding/removing an action to that transition. Log without action (this is the expected output):
Log with action attached to transition (ncprogram region is not transitioning at all):
edit: |
Hi,
Multiple regions of the same state machine using the same event for transition don't react as I would expect based on the docs.
"Whether you send one event or multiple events, result is always a sequence of results. This is so because in a presence multiple reqions, results will come back from multiple machines in those regions. This is shown with method sendEventCollect which gives a list of results." To me this suggested that multiple regions can accept the event but it looks like that is not the case.
If I have the following state machine:
then if I send a BasicEvent.EVENT only one of the regions will transition. I would have expected both to transition.
Is this the intended behavior?
Thanks
The text was updated successfully, but these errors were encountered: