Skip to Content

can we raise alert if didn't receive file in particular time duration.?

Hi Experts,

i have a requirement where we are getting file from FTP folder and i would like to check if we received file from that folder before 11am or else will raise alert for this.

Pls let me know if we can achieve this in PI.

Thanks !!

Regards,

Gaurav

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 09, 2016 at 07:29 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 09, 2016 at 07:45 AM

    Hi Gaurav!

    Another option might be using another scenario in addition to check polling results for the first scenario.

    I guess, your first scenario is async, so you can add another receiver for it with receiver file adapter in append mode. Create empty file in destination folder (PI file system, for example) and when file is successfully picked up - just add the row to that file with name/date/time information about file has been picked.

    And your second scenario runs after 11 am (with sender file adapter in Test mode) and checks that file for records (it can be done with any type of mapping). If file record doesn't exist - just throw exception.

    It's just a thought :-)

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded