Context not accessible in workflows, but accessible in activities

Hello, running into a strange issue where I don’t seem to be able to get context from within my workflow, but am able to retrieve that same context in my activities. The context that I’m talking about is baggage, and I haven’t made any changes to the propagators. So for example, when I start the workflow, I set the baggage with the following code:

  const curContext =;
  const curBaggage =
    opentelemetry.propagation.getBaggage(curContext) ?? opentelemetry.propagation.createBaggage();
  const newBaggage = curBaggage.setEntry('project', { value: context.project });
  const newContext = opentelemetry.propagation.setBaggage(,
  return opentelemetry.context.with(newContext, async () => {
    return await client.start(workflow, options);

And I access it in both my activities and workflows with:

    const baggage =
      opentelemetry.propagation.getBaggage( ||
    console.log(JSON.stringify(baggage.getAllEntries(), null, 2));
    console.log(`baggage value: ${JSON.stringify(baggage.getEntry('project'), null, 2)} \n\n\n\n`);

Is this intentional? I do have interceptors in my code that might be causing this, but wanted to see if this is expected behavior first.

Do you see the baggage passed in the WorkflowExecutionStarted event headers?

You may have different propagators configured in the different runtimes.

See here how to configure for the workflow: Logging and Sinks in TypeScript SDK | Legacy documentation for Temporal SDKs