cancel
Showing results for 
Search instead for 
Did you mean: 

Proccessing multiple files with time interval

Former Member
0 Kudos

Hi Experts,

we kindly need your suggestions/solutions on below requirement.

We have a single folder at source system which contains multiple Parent files and multiple child files. PI needs to pick all the Parent files first and process them and after 30 mins rest of the Child files needs to be picked and processed.

We are advised not to use Availability time planning.

Kindly let me know the alternate solution for the same.

Regards,

Kalyani.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Kalyani,

I would say dont use BPM, convince them to use availability time for channel as it is hardly switching amongst the channels between the one for parent files and other for child files.

Using BPM would increase the time processing as well as the memory utilization.

Using availability time will actually leave burden on java stack which is much efficient to do all these.

Edited by: vishal kharat on Nov 25, 2011 1:47 PM

markangelo_dihiansan
Active Contributor
0 Kudos

Hello

We have a single folder at source system which contains multiple Parent files and multiple child files. PI needs to pick all the Parent files first and process them and after 30 mins rest of the Child files needs to be picked and processed.

We are advised not to use Availability time planning.

I guess you have no choice but to use BPM. The 30 minutes delay can be made using a wait step.

Or

You can design it such that the Parent files are placed in the directory first, then the adapter polls them...and then after 30minutes, the child files are placed in the directory and gets polled too. What do you think?

Regards,

Mark

Edited by: Mark Dihiansan on Nov 25, 2011 7:32 AM

anupam_ghosh2
Active Contributor
0 Kudos

Hi Kalyani,

To solve this you need Scripts and call these scripts from "Run Operating System Command Before/After Message Processing" in sender file adapter configuration.

Following information are necessary for forum members to suggest further solutions to your problem

1. What is the Operating system of the PI server?

2.What is the Vesrion of PI you are working with?

3. How are you distinguishing between parent and child files?

4. Please explain if possible this staement of yours " We are advised not to use Availability time planning"

regards

Anupam