temporal
temporal copied to clipboard
Can Child workflows inherit search attributes from a parent workflow?
Im using Go sdk, starting Child workflows with search attributes is working fine, but when that workflow then spawns another workflow, I was hoping the SearchAttributes would be inherited.
Im using this to prepare the context for execution of the child workflow:
cwo := workflow.GetChildWorkflowOptions(ctx)
ctx = workflow.WithChildOptions(ctx, cwo)
But the executed workflow using that context doesnt seem to have the search attributes attached.
I doubt this is a bug, just a lack of understanding on my part, any assistance appreciated, it wasnt easy to find an answer via search engines.