I’ve never heard about such an issue. Are you using Spring to initialize workflow objects, by any chance? I’ve seen cases where the same workflow object was shared by multiple workflows, causing all sorts of undefined behavior.
Here is my sample code for initialising workflow. But surprisingly I am not at all passing the signal to any of the running workflow.
DynamicWorkflow workflow = workflowClient.newWorkflowStub(
DynamicWorkflow.class,
WorkflowOptions.newBuilder().setWorkflowId(workflowId).setTaskQueue(taskQueue).build()
);
Ideal behaviour
Hi everyone,
Just wanted to give an update regarding the issue I had raised earlier. It turns out the problem was on my side — specifically a bug in my workflow code (There was race condition). After fixing it, everything is working as expected now.
Thanks to everyone who took the time to look into it and offer suggestions. Really appreciate the support!