Cancellation Scope

Runs a body and, when the body is canceled, runs a cancellation handler.

Behaviour

Built-in workflow activity · type id velophex.cancellationscope

Properties#

Cancellation Scope has no properties of its own. You place activities in its Body and Cancellation Handler slots on the designer card.

How it works#

Cancellation Scope runs its Body. When the body is canceled, it runs the Cancellation Handler before the cancellation goes on outward. A body is canceled when the run is stopped, or when the scope sits in a Pick or Parallel branch that loses. The handler never runs when the body completes or faults.

Properties

How it works