Hello @maikdrop
- It looks like you have a non-deterministic condition in your
workflow.await
. If you want to show your workflow code we can review it.
Are you calculating the workflow.await
duration based on the System.time?
NonDeterministicException is not propagated to the workflow code, see:
- Catching NonDeterministicException - #2 by tihomir
- How to stop non-deterministic error retry forever? - #2 by antonio.perez
It is worth reading this as well
- This is expected based on what you have described. The workflowTask scheduleToStart timeout is 10 seconds. After the
workflow.await
completes (TimerFired event) a WorkflowTask is put in the queue by the server (WorkflowTaskScheduled) and if your worker is down the workflowTask is not picked up. Once your worker comes back, the worker is going to pick up the workflowTask and the workflow execution will continue.