Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

How to Restrict the Number of files from being processed in a given duration ?

$
0
0

Hi All,

 

I have this File to File/ABAP proxy scenario !!


my question is how to restrict the "number of files" being processed in a given duration of time (which can be customized) with similar name or name-type?

 

To be clear:
Say we have a directory where we have accedentally received 2 files  by same name type "ABC<ddmmyy>.txt" however we were expecting only one file.
How to restrict the second file from being processed ?

 

Or inline with above setup:

 

Say we have a directory where we expect one file in one day where a job is run @9AM everyday and file gets picked up, But by mistake the sender system generates another file just before that job run, how to restrict this new file from being processed?

 

In both the cases I want the file to be discarded, or say archived.
And I dont want the new file to be processed on next Job run. (channel availability planning wont help much here.)

 

Can anybody provide a solution to this scenario, so that in addition to basic solution we can send and email alert to concerned teams or people mentioning that we have received duplicate/multiple file for that day ?

 

Thanks


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>