How to pass variables to tsalesforce input ?

Five Stars

How to pass variables to tsalesforce input ?

Hi,

 

I have a requirement to parameterize the value of createdDate field of my tsalesforce input manual query.

The createdDate should be as below for different iteration:

1 iteration: createdDate >= systemdate and createdDate < (systemdate-2== ie 10th dec 2018-2 days = 8th dec 2018)

 

2 iteration : 8th dec 2018 -2 = 6th dec 2018 ie createdDate >= 8th dec 2018 and createdDate <6th dec 2018

 

Any suggestions to achieve this will be a great help. 

 

Thanks in advance.

 

Sixteen Stars TRF
Sixteen Stars

Re: How to pass variables to tsalesforce input ?

Use literals such as LAST_N_DAYS:n and TODAY

TRF
Sixteen Stars TRF
Sixteen Stars

Re: How to pass variables to tsalesforce input ?

Did this help?
If so, thank's to mark your case as solved (Kudo also accepted as a bonus)

TRF

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

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog