on 11-23-2016 11:40 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.