Skip to main content

Enumeration: ParentClosePolicy

coresdk.child_workflow.ParentClosePolicy

Used by the service to determine the fate of a child workflow in case its parent is closed.

Enumeration Members

PARENT_CLOSE_POLICY_ABANDON

PARENT_CLOSE_POLICY_ABANDON = 2

Abandon means not doing anything on the child workflow.


PARENT_CLOSE_POLICY_REQUEST_CANCEL

PARENT_CLOSE_POLICY_REQUEST_CANCEL = 3

Cancel means requesting cancellation on the child workflow.


PARENT_CLOSE_POLICY_TERMINATE

PARENT_CLOSE_POLICY_TERMINATE = 1

Terminate means terminating the child workflow.


PARENT_CLOSE_POLICY_UNSPECIFIED

PARENT_CLOSE_POLICY_UNSPECIFIED = 0

Let's the server set the default.