Upon clicking query in the WebUI for a Running workflow, continuously workflow instances are created from logs

mnkartik
Thu, 13 Jul 2023 17:23:34 +0000
Community Support

Hello Team,

For a running workflow, I have a query method which would return the state ( custom ones ) of the workflow, which is held in a property inside the workflow.

Upon clicking the Query tab in the webui for the given selected method, I am seeing many instances of the workflow are getting created and are not getting stopped ever.

In the workflow, I do have a loop, but there is a Workflow.await(() -> { return ... } without any timeout for signals. Is it that when the query is called from UI, the events are replayed into the new workflow instance and then returned ?

5 posts - 2 participants