Exception handling due to Workflow await

Hello @maikdrop

  1. 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:

It is worth reading this as well

  1. 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.