cancel
Showing results for 
Search instead for 
Did you mean: 

How to update sender SFSF channel with Dynamic date query

former_member223435
Participant
0 Kudos

Hi Friends,

Can you please help me with, how we can add “Dynamic query” for yesterdays modified date in SUCCESSFACTOR (SFSF) sender adapter? Is there any possible way for that? Ex: select * from EMPLOYEE where last_modified_on Date(2016-11-23) (“this last modified date should be dynamically consider yesterday’s date").

Please help me if you have any suggestions.

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Remo,

depending on what you need, you can do the following:

1. Use a SFSF-Sender (SOAP / ODATA):

There you can (only) use the Standard Delta logic. For this, you got to use a query string like this:

SELECT userId,lastModified FROM Background_RFSection0 WHERE lastModified>to_datetime('${deltasync.maxDateFromLastRun}')

and additionally you set the "additional Parameter"

deltasync.maxDateFromLastRun = 2016-01-01T00:00:00Z (or any other starting date)

Please make sure, that you select "lastModified" in your select. It will remember the highest lastModified and use it in the next run.

2. You can use a SFSF-Receiver.

Of course, then you'll need a trigger (Sender) - maybe a dummy file. In the mapping you create a Output message called "query" and create your SELECT in the "queryString" as you like it including your selections date in the Format as above.

Regards,

Heiko

naga_prasad2092
Explorer
0 Kudos

can we get currentdate in sender SFSF query . Please help me on this?