Skip to content

Commit c4db073

Browse files
authored
Merge pull request #127790 from sophiatev/update-eternal-orchestration-docs
Update the Eternal Orchestration Docs for Failed Orchestrations
2 parents 5197fe2 + 36bbb02 commit c4db073

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

articles/azure-functions/durable/durable-functions-eternal-orchestrations.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ When *continue-as-new* is called, the orchestration instance restarts itself wit
2626
> [!NOTE]
2727
> The Durable Task Framework maintains the same instance ID but internally creates a new *execution ID* for the orchestrator function that gets reset by *continue-as-new*. This execution ID is not exposed externally, but it may be useful to know about when debugging orchestration execution.
2828
29+
> [!IMPORTANT]
30+
> If during execution the orchestration encounters an uncaught exception, then the orchestration enters a "failed" state and execution will complete. In particular, this means that a call to *continue-as-new*, even in a `finally` block, will *not* restart the orchestration in the case of an uncaught exception.
31+
2932
## Periodic work example
3033

3134
One use case for eternal orchestrations is code that needs to do periodic work indefinitely.

0 commit comments

Comments
 (0)