You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the first iteration of conditionalComplete in #282, it may lose the messages published to the InternalChannel or signal channel if there is another state still processing the messages from the channel. The other state could have got the messages from waitUntil and then still executing the execute API. In that case, the message is lost because execute is not completed in the other states.
As a workaround, user must ensure that channel for ConditionalComplete shouldn't be used in other states.
To "fix" or improve this behavior, we can add more logic in the workflow to check if other states are processing the messages and wait on the processing to be complete
The text was updated successfully, but these errors were encountered:
longquanzheng
changed the title
ConditionalComplete improvement: other state API is processing the internal/signal channel
ConditionalComplete improvement: other state API is processing the internal channel
Jul 6, 2023
longquanzheng
changed the title
ConditionalComplete improvement: other state API is processing the internal channel
ConditionalComplete improvement: other state API is processing the signal/internal channel
Jul 6, 2023
In the first iteration of conditionalComplete in #282, it may lose the messages published to the InternalChannel or signal channel if there is another state still processing the messages from the channel. The other state could have got the messages from
waitUntil
and then still executing theexecute
API. In that case, the message islost
becauseexecute
is not completed in the other states.As a workaround, user must ensure that channel for ConditionalComplete shouldn't be used in other states.
To "fix" or improve this behavior, we can add more logic in the workflow to check if other states are processing the messages and wait on the processing to be complete
The text was updated successfully, but these errors were encountered: