How can I get the process instance id from the previous event?

For example, if I am in a call activity and want to get the process instance of the previous task, how can I do it?

Hello @CRA ,

this thread may help you:

Jonathan