Open sytranvn opened 3 weeks ago
Hi @sytranvn! Could you take a look at https://docs.temporal.io/workflows#parent-close-policy - specifically Abandon
- and let me know if that solves your problem?
@stephanos , I use ABANDON
as parameter for start_child_workflow
. But the child is still terminated as soon as Parent completes. Here's the code https://github.com/sytranvn/abandon-child
Is your feature request related to a problem? Please describe.
Ability to start new workflow from other workflow. But the new workflow's lifeftime does not depends on the other.
As in this diagram, after the ChildWorkflow complete its job, we want to return the result immediately to ParentWorkflow. The WrapupWorkflow only start the next day, and its result doesn't matter to the ParentWorkflow. Currently child workflow and activity lifetime depends on workflow. So I have to add additional steps to call an activity, which connects to
Client
and callstart_workflow
. Like this.Describe the solution you'd like Support starting an orphan workflow from inside workflow and forget it.
This might not applicable to
execute_workflow
though.