Hi, I’m trying to understand how it will work if we change the Namespace or Task queue in the middle of a workflow execution. Our use case is that we have 3-5 Namespaces to represent workflow categories, and in 1 Namespace we have 3-5 task queues to execute different workflows based on priorities.
Let’s say we have a workflow_1 and our service will call Temporal to start execution whenever our upstream service sends us an event, and the workflow_1 is originally configured to run on Namespace_A and Task_queue_A1.
Then assume we find that the workflow category/priority needs to change, which means we need to switch the workflow execution to Namespace_B, or Task_queue_A2 under Namespace_A, my questions are:
- What would happen to the already started workflow execution in Namespace_A and Task_queue_A1 if they are still in the middle of processing? Will they just exit in the middle, meaning that we’ll drop those executions?
- Any general guidance on how to handle the Namespace switch or Task queue switch smoother? Ideally we do not want to drop or stop workflow execution in the middle and not sure if it’s possible to gracefully transition/migrate the workflow execution to another Namespace or Task queue in the middle of an execution.
Thank you in advance!