Hi! I have confusion regarding childWorkflowCancellation type, does it mean that if any error occurs in child Workflow what should happen to its parent workflow? or does it mean that what should happen to childWorkflow if something happens to parent Workflow?
ChildWorkflowCancellationType defines the behavior of the parent workflow when the child workflow is cancelled. It can either:
- Wait for child workflow to complete cancellation
- Request cancellation only (does not wait for cancellation to complete)
- Initiate cancellation and immediately report it to parent
or does it mean that what should happen to childWorkflow if something happens to parent Workflow
This behavior is controlled via child workflow options ParentClosePolicy.
Thankyou for the explanation.