dhiaayachi / temporal

Temporal service
https://docs.temporal.io
MIT License
0 stars 0 forks source link

Header propagation on activity/workflow results #391

Open dhiaayachi opened 2 weeks ago

dhiaayachi commented 2 weeks ago

Is your feature request related to a problem? Please describe. On our Temporal projects we use context propagators to pass cross-cutting parameters across the "temporal stack", i.e. the user that is running a workflow etc. This works fine, anyway a use case arised where we need to set/change some of these variables within an activity (but it may be also within a workflow) and have it "propagated" when the result of the activity is returned to the calling workflow.

Describe the solution you'd like We would like to be able to change contxt propagated vars within activity/workflow. Please refer also to https://community.temporal.io/t/context-propagator-java-sdk/2189/6?u=andreacolombo

Describe alternatives you've considered None.

Additional context None.