Hi,
I encountered unusual behavior when canceling a “Continue as New” workflow. When the parent workflow is canceled, the child workflow is also canceled if it hasn’t been started as a “Continue as New” workflow. However, if the child has already restarted as a “Continue as New” workflow, the cancellation doesn’t occur.
- Could you explain why this happens?
- How can I handle the cancellation of child workflows in this case?