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.

 

Fifteen Stars TRF
Fifteen Stars

Re: How to pass variables to tsalesforce input ?

Use literals such as LAST_N_DAYS:n and TODAY

TRF
Highlighted
Fifteen Stars TRF
Fifteen 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

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

Downloads and Trials

Test drive Talend's enterprise products.

Downloads