Is there a way can get the execution path of historic activities?

Hello. In my case, I need to get the historic activity execution path.
I tried to sort the sequence counter of the history activity instance.
It is working for some process definition.
But in some complex process definition, it doesn’t work.

Is there have a better way to get the execution path? Thank you all.

Hey @himly,

does this help you?