Monday, January 13, 2014

Ways to import documents: Athento AFM [FAQs]

We’re continuing to respond to the questions that all of you have. One of those questions is which mechanisms can Athento use for the massive importation of documents. Well, today, we’re going to look at one of those methods, known as Athento Folder Monitoring (or AFM, for short).

Known in the industry as the “hot folder”, the functionality of folder monitoring allows you to run a demon in the background that, from time to time, reviews your folder(s) to see if they contain new documents and uploads them to Athento to be processed.

Once the documents have been put into a specific folder, those files will begin to disappear from the folder, as they get uploaded to Athento.

To activate this functionality, we should go over to the “Administration” menu and choose the “Administration” sub-menu:

Once we’re there, we go to the "Sources" tab, where we check the box which activates monitoring of folders. 

Currently, the path of the folder to be monitored is defined in the database, in the “athento_properties” table. This has been a new improvement (before, you had to identify the path in  file). Soon, we’ll be able to configure this path from the application’s own interface.

FSM.PathDocuments is the parameter that indicates the path of the folder that Athento will monitor.

Additionally, the AFM receives other configuration parameters related to the times in which the folder is monitored. AFM works with a cron, which is a small program that allows the user to program the work to be done. In other words, we can tell Athento when it should begin to monitor a folder (FSM.Cron.Expression.Start) and when it needs to stop the monitoring (FSM.Cron.Expression.Stop). To program the monitoring of the folder, the parameters that only have a cron expression should then be configured. There’s free software that helps you construct these expressions, as is the case with cronmaker.


No comments:

Post a Comment