Skip to main content

Enumeration: ChildWorkflowCancellationType

workflow.ChildWorkflowCancellationType

Specifies:

Default

{@link ChildWorkflowCancellationType.WAIT_CANCELLATION_COMPLETED}

Enumeration Members

ABANDON

ABANDON = 0

Don't send a cancellation request to the Child.


TRY_CANCEL

TRY_CANCEL = 1

Send a cancellation request to the Child. Immediately throw the error.


WAIT_CANCELLATION_COMPLETED

WAIT_CANCELLATION_COMPLETED = 2

Send a cancellation request to the Child. The Child may respect cancellation, in which case an error will be thrown when cancellation has completed, and isCancellation(error) will be true. On the other hand, the Child may ignore the cancellation request, in which case an error might be thrown with a different cause, or the Child may complete successfully.

Default


WAIT_CANCELLATION_REQUESTED

WAIT_CANCELLATION_REQUESTED = 3

Send a cancellation request to the Child. Throw the error once the Server receives the Child cancellation request.