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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
borrisbeck
Contributor
Contributor

Implicit context load - OS variable value change for different environments

we are pointing to "localhost" in target/exec and using the system.getenv("os_variable") method in "implicit context load" to retrieve the context file. The problem is, there are users who needs to run the jobs pointing to different environments from their machines, so every time they want to point to a different context file they are manually changing the "os_variable" value each time in the operating system, some times they are forgetting to change the value and eventually the job gets ran in the wrong environment, any way to avoid this?

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hint: In the Implicit Context Load configuration you can use the result of Talend routine method calls. 

Basically, you can write a routine which has methods which can mitigate for this. So when the job is started, you can dynamically change the values being supplied according to whatever logic you can code in Java.

View solution in original post

1 Reply
Anonymous
Not applicable

Hint: In the Implicit Context Load configuration you can use the result of Talend routine method calls. 

Basically, you can write a routine which has methods which can mitigate for this. So when the job is started, you can dynamically change the values being supplied according to whatever logic you can code in Java.