Get JobID (like PID in Unix) from the Robot

I’m settinging up a logger for a small project.
I would need to retrieve JobID assigned to the robot by Windows OS (like pid in Unix) in order to discriminate several execution of the same process.

Is there any way to perform that?