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

Root State Machine terminates when Sub-Container returns Outcome named "Preempted" #162

Open
tropappar opened this issue Feb 3, 2023 · 1 comment

Comments

@tropappar
Copy link

Setup:
I have a state machine that contains a concurrency container. This container has an outcome called preempted. The root state machine does not contain such an outcome.

Error:
Once the concurrency container reaches the outcome preempted, the whole state machine terminates, even though it should transition to another state.

This is the terminal output:

Behavior execution finished with result preempted.
FlexbeOnboard._behavior_execution]: --- Behavior Engine ready! ---
@dcconner
Copy link
Member

"preempted" is a key word in FlexBE's handling of "PreemptableState" and "PreemptableStateMachine". Don't use. Suggest "canceled" instead

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