Using Complex Trigger to Scan Multiple Folders

Question: I receive files from multiple source locations that are processed using the same Process Flow. Currenlty, I have individual File Triggers that look for a new file in each location, and then run my process flow when they find a file.

Is it possible to create a Complex Trigger that would scan a list of folders stored in a database table and then run the process flow if it found a file in any one of those folders?

 

Solution:

To use an individual file event which should include various locations to search from please follow the steps below:

1. Create a File Event with a unique File Base Location *. eg C:\
2. You can add various locations separated with (,) in the File Include Criteria * . eg Adeptia1\*.xml,Adeptia2\*.txt
Doing this would help you to include a search criteria at different locations in the same File Event.

Regarding your second request it is possible to create a Complex Trigger that would scan a list of folders stored in a database table but for that we need to write down a Custom Code specific to you requirements.

Have more questions? Submit a request

0 Comments

Article is closed for comments.