Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

getting root_pid

Hello,
I saw in the tStatCatcher that Talend creates a pid for each job executing.
If I have a job which calls some subjobs, pid are of 3 kinds:
- pid
- father_pid
- root_pid
I need, from every subjob to get the root_pid cause I need to put it in some tMaps.
Is it possible?
Thanks in advance.
Labels (2)
10 Replies
vincentB1
Contributor
Contributor

You can use pid public vars of your job : 

this.pid
this.fatherPid
this.rootPid

and use it in tjava or assign to tMap columns ...

It works with Talend 6 at least.
(thanks to jordimorato)

 

PS : I found all this variables who could be utiles :

this.jobName
this.jobVersion
this.projectName
this.contextStr