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
The value will be incorrect if there are two states in a workflow using the same static value for stateOptions(returned from getWorkflowStateOptions(), and one state has waitUntil but another doesnt -- the skipWaitUntil is internally stored in stateOptions and they will be overridden for each other.
This will totally mess up the workflow behavior -- the second state will get a wrong skipWaitUntil value.
The text was updated successfully, but these errors were encountered:
longquanzheng
changed the title
[bug]Overriding behavior when reusing a static value as getStateOptions()
[bug]Incorrect overriding stateOptions when reusing a static value as getStateOptions()
Oct 7, 2024
The value will be incorrect if there are two states in a workflow using the same static value for stateOptions(returned from
getWorkflowStateOptions()
, and one state has waitUntil but another doesnt -- theskipWaitUntil
is internally stored instateOptions
and they will be overridden for each other.This will totally mess up the workflow behavior -- the second state will get a wrong
skipWaitUntil
value.The text was updated successfully, but these errors were encountered: