DocOrigin FolderMonitor

Automate Data-Processing Tasks for Document Generation

DocOrigin FolderMonitor is an automation application that runs as a background task waiting for “submitted” data or tasks to perform.

Data is submitted by writing a file into a FolderMonitor “queue”, which is a continuously watched folder. When files appear in a queue, FolderMonitor will process each file one at a time; it will determine the processing that is required for that data and execute a nominated JavaScript script to do the processing.

Processing can consist of a wide variety of actions. In the simplest case, the data can be passed on to DocOrigin Merge where a document is generated. More complex processing may include reading and modifying the data, creating intermediate documents, and sending emails with attached documents. FolderMonitor can also call or run any external application, allowing easy integration with non-DocOrigin processes, such as archiving.

Each instance of FolderMonitor can be configured to monitor several queues, which facilitates prioritized queues. Multiple instances of FolderMonitor can be run concurrently, and each instance can process multiple jobs in parallel.

FolderMonitor is available on all DocOrigin platforms: Windows, Linux, AIX®, and IBM i (Contact your distributor for details). On Windows, an additional GUI called DocOrigin FolderMonitorConsole is available to simplify the starting and stopping of FolderMonitor instances.

Folder Monitor

Processing Jobs

1. A job “discovery” script is run

This script can examine the actual data to determine what type of action is required. This script assigns a job name to the file. For example, by looking at the data stream the script may determine that this is an “Invoice” job, or a “Purchase Order” job.

2. A “processing” script is run

The script file name is the job name assigned by the first step. For example, if the job name is determined to be “abc,” FolderMonitor processes the job with a script called abc.wjs. This allows a fairly simple script to determine the type of file, and therefore, the processing to apply. This then leads to running job-specific scripts for each job type. These scripts are typically very small. If the need ever arises, the full power of the DocOrigin extended JavaScript engine is available to orchestrate more complex multi-step processing flows.

Through these scripts, FolderMonitor can access Merge, send emails, convert the data, and so on. If errors are encountered, the data file will be retained in an Error folder for examination and remedial action. On Windows, the FolderMonitorConsole program can be used to start and stop the FolderMonitor service.

Managing the Process

A number of features are built into FolderMonitor to simplify the management of jobs and the diagnosis of potential problems.

FolderMonitor, like other DocOrigin components, creates a standard log file of all transactions as they occur. When FolderMonitor calls other DocOrigin components such as Merge, a job identifier is passed to that component so that log file entries can be quickly reconciled in the event of a problem. Merge will log its status information in the same log file as FolderMonitor, creating a convenient process log across multiple applications.

FolderMonitor can be configured to send an alert email message or text message when errors of a certain severity are detected.

Multi-Platform Support

Experience seamless document generation across diverse platforms with DocOrigin’s unparalleled multi-platform support. Whether you’re on Windows, Linux, or any other major operating system, DocOrigin empowers you to create, customize, and deliver dynamic documents with ease. Say goodbye to compatibility concerns and embrace the freedom to generate professional, high-quality documents effortlessly on the platform of your choice. DocOrigin: Unleashing the power of multi-platform document creation for a truly flexible and efficient workflow.

  • Tyler empowers thousands of local government offices and school districts with our software solutions. We felt that DocOrigin was the best choice to satisfy the unique needs of state and local government organizations and school districts.

  • DocOrigin made our job much easier in what was already a complex and mission-critical undertaking. The platform and the implementation team performed beyond our expectations.

  • We process large volumes of print, especially at peak times. With our current software we sometimes experience a slow-down that can impact our shipments to customers. Re-platforming our critical print processes was an essential change.

  • DocOrigin and the team at Eclipse help us implement a system to manage generating over 20,000 labels a day and print them across a large network of printers. Their team was with us every step of the way to ensure success and really came through as problems arose.

Other Solutions
BCC Icon

Business Communications Center

Our Business Communications Center™ customer management software solution provides an intuitive user interface for Marketing, HR, and Legal departments.

Learn More
Design Icon


All of the UI elements and tools in DocOrigin Design are specifically created and tailored to real business form and document template design.

Learn More
FilterEditor Icon


DocOrigin FilterEditor is a Windows GUI application used to create filter definitions (.xfilter) that can the be used in DocOrigin Merge.

Learn More