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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unable to run job in different context by changing the .bat file

Hi
I've set up a simple Talend job to run in different contexts (say, context1 and context2).
When the job is run in TOS with context1, it runs correctly with the varibales defined in context1. Similarly, when I change the context from the drop-down to context2, it runs with the variables defined in context2.
However, when I export the job with a default context (say, context1), and tries to run it from the command-line, it always runs with the same context (context1) everytime
I've been trying to run the job in a different context by changing the context value in the ".bat" file but I'm unable to do so.
Even after I change context in the .bat file from "--context=context1" to "--context=context2", the job runs with the variables defined in context1.
Can you please suggest if I'm doing anything wrong?
I have followed the exact same steps as mentioned in the tutorial:
http://www.talendforge.org/tutorials/tutorial.php?language=english&idTuto=35
Thanks
Kshitij
Labels (2)
11 Replies
Anonymous
Not applicable
Author

I double checked with 4.1.1 and can confirm that it exists. Sorry for any confusion, My previous post saying it worked was in error.
this will be a blocking issue for my teams 0683p000009MPcz.png
Thanks for pinpointing it Kzone!
Anonymous
Not applicable
Author

hi
issue in 4.1.3
have a look at branch 0683p000009MA9p.png
regards
laurent