Open dhiaayachi opened 3 weeks ago
Thanks for reporting this issue. User metadata is currently only propagated to the child workflow's first event, not its execution config.
We are looking into ways to improve user metadata propagation in the future. You can keep an eye on the Temporal GitHub repository for updates.
In the meantime, here's a workaround:
GetWorkflowExecutionHistory
API.Let us know if you have any other questions.
Thanks for reporting this issue. This is a known behavior that the user metadata only ends up on the event, not on the child workflow itself.
You can find more information on User Metadata in the documentation here: https://docs.temporal.io/workflows#user-metadata
Expected Behavior
Like start workflow, I would expect start child workflow user metadata to end up on the execution config on the child workflow.
Actual Behavior
The user metadata only ends up on the event, not the actual child workflow
See https://github.com/temporalio/temporal/pull/5857 where user metadata propagation was added.