If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the
child policy specified for the workflow execution at registration time or when starting the execution. The supported child policies are:
- TERMINATE: the child executions will be terminated.
- REQUEST_CANCEL: a request to cancel will be attempted for each child execution by recording a WorkflowExecutionCancelRequested event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event.
- ABANDON: no action will be taken. The child executions will continue to run.
Note: |
---|
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time, a fault will be returned. |
Constraints:
Declaration Syntax
C# |
public string ChildPolicy { get; set; }