Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
SThirunagari
Contributor
Contributor

Context Overriding via commandline Not Working

Hi All,

I am trying out a simple job to test the context overriding via command line. For this I created job using tjava component to print the context variables defined as Param_1 = "Default Parameter 1" and Param_2 =

"Default Parameter 2" . I have build the job and trying to run the windows .bat file to override the above Param_1 and Param_2 using --context_param Param_1 = "a1" --context_param Param_2= "a2". However I am still seeing the default values defined in the job. Could you please let me know where I am going wrong.

Command Used:

JOB_CONTEXT_OVERIDING_TEST_run.bat --context_param Param_1 = "a1" --context_param Param_2 = "a2"

Thanks

Labels (3)
2 Replies
Anonymous
Not applicable

Can you show us your job and how you see your context params? I presume this is via a tJava or tLogRow?

SThirunagari
Contributor
Contributor
Author

Hi Rhall,

 

Thankyou for taking time and responding to this. you are correct its just tjava component.

Please find the attached pictures for the same.

 

Appreciate your help

 

Thanks0695b00000QFqn4AAD.jpg0695b00000QFqlcAAD.jpg0695b00000QFqlSAAT.jpg