Skip to Content
avatar image
Former Member

How to update sender SFSF channel with Dynamic date query

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 30, 2016 at 07:52 AM

    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.



    Add comment
    10|10000 characters needed characters exceeded