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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Using context variables passed by aws batch overwriting runJobInTOS

Hello,

We are using aws batch to trigger talend jobs. Problem is aws batch can only pass parameters individually

i.e talends required syntax --context key=val will not work as batch will pass k val  (with space) . So context variable alway shas a val of space .

 

to overcome this i modified param evaluation in Job in method runJobInTOS.

But every time i refresh it gets overwritten with default code how do i make this changes permanent.

 

Labels (4)
3 Replies
Anonymous
Not applicable
Author

Hi,

 

    Could you please try to keep the context values in a file and read them at the beginning of the Talend job and load to context variables?

 

Warm Regards,

 

Nikhil Thampi

Anonymous
Not applicable
Author

I am already doing that but i need a mechanism to overwrite the parameters for various reasons like testing,  reruns and passing the context file path itself as a run time parameter otherwise i will have to hardcode this path.

 

Anonymous
Not applicable
Author

Hi,

 

    Could you please refer the below post where context variables are passed as parameters.

 

https://community.talend.com/t5/Design-and-Development/resolved-Passing-variable-context-value-from-...

 

    If the reply has helped you, could you please mark the topic as solution provided?

 

Warm Regards,

 

Nikhil Thampi