Skip to Content

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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.