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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
dstreun
Partner - Contributor III
Partner - Contributor III

[resolved] How to get the current context? - e.g. "Dev", "Test" or "Prod"

What Java expression to use to get the current context of a job? - e.g. "Dev", "Test" or "Prod"

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

It is held by the contextStr variable.

View solution in original post

3 Replies
Anonymous
Not applicable

It is held by the contextStr variable.
dstreun
Partner - Contributor III
Partner - Contributor III
Author

Great, that's it. Many thanks!
Regards, Dieter
Duncan2
Contributor
Contributor

this does not work when executing jobs in Talend Cloud.

contextStr value in Talend cloud is whatever the 'default' group name is plus a bunch of numbers.