Documentation

WorkflowPanicPolicy : int
in package

Table of Contents

Cases

BlockWorkflow
BlockWorkflow is the default policy for handling workflow panics and detected non-determinism.
FailWorkflow  = 1
FailWorkflow immediately fails workflow execution if workflow code throws panic or detects non-determinism.

Cases

BlockWorkflow

BlockWorkflow is the default policy for handling workflow panics and detected non-determinism.

This option causes workflow to get stuck in the workflow task retry loop. It is expected that after the problem is discovered and fixed the workflows are going to continue without any additional manual intervention.

FailWorkflow

FailWorkflow immediately fails workflow execution if workflow code throws panic or detects non-determinism.

This feature is convenient during development. WARNING: enabling this in production can cause all open workflows to fail on a single bug or bad deployment.


        
On this page

Search results