Kindly asking for suggestion if anyone had found a solution for such an issue:
in theory, getting job_id during python shutdown script execution should be piece of cake, with accessing to FME_MacroValues['FME_JOB_ID'],
but actually there is no such key in FME_MacroValues. I've explored all FME_MacroValues dictionary, nothing similar is there.
Also, there is nothing that could help in globals() as well.
Is actually FME server still providing job_id for python hooks executed on start/end of translation?