get jobName of master job from subJob

One Star

get jobName of master job from subJob

Hello,
how can I get the jobName of the master job from a subJob without using context
Is there a global var : parentJobName or something like that ?
Thanks,
Didier
Community Manager

Re: get jobName of master job from subJob

Hi Didier
There is a global variable for each job: jobName, you can get the job name in the parent job and pass it to the child job, here is a KB article shows you how to pass a value from parent job to child job.
https://help.talend.com/search/all?query=Passing+a+value+from+a+parent+Job+to+a+child+Job&content-la...
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business