Discussion

7
Replies
723
Views
DHARA001 Member since 2006 8 posts
Cognizant Technology Solutions
Posted: May 29, 2015
Last activity: June 3, 2015
Closed

Introducing Delay in File Listener

I know there has been a few discussions in the PDN about how a file listener (only one running on one node) would process the files if there are multiple files placed in the folder. My questions is whether it is possible to introduce a delay between the processing of multiple files in a file listener.

Scenario:5 files are put in the folder which is monitored by the file listener. Each file has a specific number of records. I would like to have the processing sequence as follows:

  • FL1 picked up and the service file processes the records.
  • there is a gap of a minute or so then FL2 is picked up for processing and so on

Is this practically possible in Pega? I have tried using the Idle Processing section but to no avail.

the only option I see is to have a job running on the OS where Pega is installed, and this job would send the file one at a time to the folder which Pega is monitoring.

any light in this direction would be very appreciated.

Data Integration
Moderation Team has archived post
Share this page LinkedIn