cadence-java-client icon indicating copy to clipboard operation
cadence-java-client copied to clipboard

Workflow await with timeout doesn't cancel timeout

Open Ramkumar92 opened this issue 3 months ago • 0 comments

Workflow await can be performed with an optional timeout duration for ex:

Workflow.await(Duration.ofHours(1),() -> unblockCondition());

When a workflow waits for this condition and unblockCondition is evaluated to true, the timer doesn't get cancelled. The Cadence web UI indicates that timer is still running and it gets fired after the timeout.

Image

Ramkumar92 avatar Sep 29 '25 14:09 Ramkumar92