Skip to content

EventState and OnEvent actions relation to eventRef #524

Closed Answered by tsurdilo
globalflea asked this question in Q&A
Discussion options

You must be logged in to vote

If exclusive is true and the EventState received an event that matches OE-B.1, I conclude that OE-B is completed and the EventState will no longer wait for an event that matches OE-B.2. However, the EventState will continue to wait for events related to OE-A. Is this understanding correct?

No, the event state does not continue to wait for events related to OE-A. Once one of the eventRefs "fire", regardless of exclusive, the state performs actions and completes. exclusive deals with each individual "eventsRefs" definition, not across them.

If exclusive is false, the EventState will continue to wait for events that will match the remaining 3 events? Ie the EventState will wait till it re…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@globalflea
Comment options

@cdavernas
Comment options

@tsurdilo
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@globalflea
Comment options

@tsurdilo
Comment options

Answer selected by globalflea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants