Modify context variables

One Star

Modify context variables

Hi,
I have a job that initialize context with a file. That's ok.
One of these varaibles is a date (FileDate yyyy_MM_dd)
After some process, i want to add one day to this date and store it in the file.
How can i do that ?
Thansk for your help
Community Manager

Re: Modify context variables

Hello
Extract all the data in the file, modify the date, then output data to a new file instead of the old file.
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Modify context variables

And with witch component do you modify the context variable ?
One Star

Re: Modify context variables

Have a look at this post http://talendforge.org/forum/viewtopic.php?pid=12164#p12164
It talks about doing date math. Read through it and view the photos.

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

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

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog