Getting Process Instance Id

Is anyone know a function, plugin to get process instance id of a process without using process report?

  Discussion posts and replies are publicly visible