If set, specifies the policy to use for the child workflow executions of the new execution if it is terminated by calling the
TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified
when registering the workflow type using RegisterWorkflowType. 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 the new workflow execution must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned. |
Constraints:
Declaration Syntax
C# |
public string ChildPolicy { get; set; }