Skip to Content
0

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

Dec 09, 2016 at 06:11 AM

46

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Manoj K Dec 09, 2016 at 07:29 AM
1
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks Manoj !! i'll give a try.

Regards,

Gaurav

0
Evgeniy Kolmakov Dec 09, 2016 at 07:45 AM
1

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.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks Evgeniy !! :) wll try and let u know for further help.

Regards,

Gaurav

0