Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

Modify context variables

Highlighted
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
Highlighted
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
Highlighted
One Star

Re: Modify context variables

And with witch component do you modify the context variable ?
Highlighted
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.

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog