Trace Id changes after asynchronous continuation

I’m facing the issue where my trace id changes after asynchronous continuation (After), so I cannot keep track of whole flow of my request. is there any way I can keep same trace id throughout the asynchronous continuation or pass same traced id along with newly created trace id?
@berndruecker

Sure, “out of the box” the trace id is tied to the thread, hence the vaoue will change after an async point. You have to save it as a process variable and the read and set it in the next job, i.e. after the async point.

Is there any listeners in camunda so I can do that for all processes at one place.

Whenever trace ID changes