[resolved] Prompt Context Variable?

One Star

[resolved] Prompt Context Variable?

Hi,
I am wondering how can we supply the value to the context variable during runtime?
I created a context.process_date and imported into the job. In the query, I entered:
"SELECT * FROM rating WHERE added_date = "+context.process_date+"and added_date < '1971-01-01"
When I executed the job, it didn't prompt me to supply the value to context.process_date. Is there way I can supply the value during runtime?
Any help is really appreciated!
Thanks in advance!!!

Accepted Solutions
Community Manager

Re: [resolved] Prompt Context Variable?

Hello
Check the 'promt' box of context var.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

All Replies
Community Manager

Re: [resolved] Prompt Context Variable?

Hello
Check the 'promt' box of context var.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
Six Stars

Re: [resolved] Prompt Context Variable?

Hi @shong,

How to we get prompt, after we deployed the talend build in linux server?

Is there any way, please help me.

 

Regards,

Abhi529

Four Stars

Re: [resolved] Prompt Context Variable?

It's not possible. Provide the parameters via --context_param.

See here: https://community.talend.com/t5/Design-and-Development/Problem-with-context-prompt-params/td-p/61319

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download