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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

context variable to get current date and using in web-api to get data

Hi 

I already have talked with you about my talend job. 

That was my job to get data from web api in json form and convert that into xml using tjava component. 
tLibraryLoad--->tRest--->tJavaRow--->tFileoutputDelimited--->tfileoutputxml--->tlogrow
I always use date in url to get json data of specific date. But I want to automate whole process daily so that I dont need to change date manually in url for json data. 

I'm looking any context variable so that I could pass into url and whenever the job runs daily it will automatically take the current date and fetch data accordingly. 

I have created small talend job for the same but not getting the trick to connect with above mentioned job.
0683p000009MGqE.png

From this job am getting current date and now want to pass this date's key:value  in above trest component present in above job. 

Can you please guide me for the same ?

Labels (2)
1 Reply
Anonymous
Not applicable
Author

How do you define the URL without context variable on tRest now? Can you give us an example so that I can give you an accurate answer?