WatchDog Installation

Configuring WatchDog in DocBits

  1. Access WatchDog Settings

    • Navigate to Settings → Document Processing → WatchDog.

  2. Folder Settings

    • Define the paths where WatchDog finds and processes documents.

    • The folder paths should match those created during installation:

      • C:/WatchDog/Read

      • C:/WatchDog/Processed

    • Note: It is recommended to use local paths. These should match the folders in the DocBits Installation

  3. General Settings

    • Select the document types to process by checking the corresponding checkboxes

    • Barcode Divider: When turned on enables the barcode dividing.

    • DocBits Operator: When enabled opens a chrome browser in the background for the DocBits Operator.

    • Export destination: Sets the export destination.

      • Infor: Documnets get exported to Infor.

      • Enaoi Export: Documents get exported to a defined folder that can be configured below.

      • Note: For XSLT configuration, please consult your project manager.

  4. Export Configurations

    • Displays all configured exports for on-premise processing.

    • Shows the timestamp of the last successful connection for each configuration.

  5. bod_mapping Configuration (Optional)

    • Required Fields: Before adding custom metadata mappings, you must define the following two values:

      • file_name

      • pdf_path

    • Click Add Row to define metadata mappings.

    • Value: Specifies the field name for the metadata.

    • Path: The XPath expression pointing to the XML data that should be assigned to the field.

    • Trashcan Icon: Used to delete a secific row.

  6. Download the Configuration

    • Save the configuration

    • Download the configuration

WatchDog Installation Guide

  1. Create Required Folders

    • Create a main directory: C:/WatchDog

    • Inside C:/WatchDog, create the following subfolders:

      • C:/WatchDog/Read

      • C:/WatchDog/Processed

    • Note: It is recommended to use local paths. These should match the folders in the DocBits Configuration

  2. Download WatchDog

    • Download the latest version of WatchDog.exe from: https://github.com/Fellow-Consulting-AG/ActualWatchdog/releases

    • Place the downloaded WatchDog.exe file in C:/WatchDog.

    • Place the downloaded watchdog-config.json file in C:/WatchDog.

    • open the watchdog-config.json. and change the config_path.

    • In this example:

      • "config_path": "C:/WatchDog/watchdog-config.json"

  3. Install WatchDog

    • Open Command Prompt (CMD) with Administrator rights.

    • Navigate to the WatchDog folder

    • Run the following command to install WatchDog:

      WatchDog.exe install

  4. Start the WatchDog Service

    • Run the following command in CMD:

      WatchDog.exe start

  5. Set Startup Type

    • Open Services (Press Win + R, type services.msc, and press Enter).

    • Locate WatchDog in the service list.

    • Double-click to open its properties.

    • Set Startup Type to Automatic (Delayed Start).

    • Click OK.

Last updated

Was this helpful?