Skip to Content

How to set wait time for picking files in SFTP server or wait time in message mapping

Hi,

I have an inbound scenario, where around 50 files are getting processed in PI and sent to ECC at a time. I want to have a wait time either for picking the file in SFTP server (like, 1st file and 2nd file picking time difference should be about 30secsand so on)

or

we can have wait time in message mapping.

Let me know how we can configure that

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jul 06, 2020 at 01:01 PM

    Hello,

    If your PI runs on Linux or Unix just use "Run Operating System Command after message processing" and type in "sleep 30"

    Best regards, peter

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 05, 2020 at 07:49 PM

    Sounds what you really want to do is queuing things? When you are willing to spend say 30 seconds then I would assume that it will be legit to process the files in sequence.

    Please have a look at Quality Of Service "Exactly Once In Order".

    You can even enforce to have queue names depending on some kind of key within the payload for example. This allows you to only queue up semantically matching messages, e.g. all messages to one order number go into a queue, but order 1234 will not block order 9876. See Vadim Klimov 's excelent Blog about that: https://blogs.sap.com/2016/08/15/setting-dynamic-queue-name-in-eoio-scenarios/

    Cheers

    Jens

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 07, 2020 at 12:57 PM
    -1

    Hi Subin,

    You can configure the parameter Interval (ms) for modification check in sender SFTP Channel with the value how much wait time you want other file to process.

    Regards

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded