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
client.WaitForStateExecution(<workflowId>, <StateExecutionId>); // blocking API call until it's completed or timeout
This API will start a internal/system workflow , which waits for a signal, and let the state execution to signalWithStart it to complete. The workflowId will be __Iwf_system+<runId>+<stateExecutionId>
the StartWorkflow API will also require to tell what are the state execution will need to be waited, when starting a workflow.
The text was updated successfully, but these errors were encountered:
Alternatively, wait for a state execution to complete may be even more useful / general to use . see #316
We may just implement it similar as described in #316 (comment)
state completion could start or signal a system workflow , and wait api can also start or wait for the same workflow.
only difference is that the timeout of workflow started after can be very short, and we will use “completed” status to check if the state is completed
longquanzheng
changed the title
Ability to wait for a data attribute to be set with long polling
Ability to wait for a data attribute to be set or state execution completion with long polling API
Aug 1, 2023
longquanzheng
changed the title
Ability to wait for a data attribute to be set or state execution completion with long polling API
Ability to wait for state execution completion with long polling API
Aug 21, 2023
Something like:
This API will start a internal/system workflow , which waits for a signal, and let the state execution to signalWithStart it to complete. The workflowId will be
__Iwf_system+<runId>+<stateExecutionId>
the StartWorkflow API will also require to tell what are the state execution will need to be waited, when starting a workflow.
The text was updated successfully, but these errors were encountered: