Process Discovery Analyzer

Process Discovery Analyzer is designed to process the recorded raw data and to generate refined data for the Kofax Analytics for RPA dashboard views. See Kofax RPA Process Discovery in the Kofax RPA Administrator's Guide.

The Analyzer is a command line application and you can get its output by either watching the console window or opening the Analyzer log file.

Getting settings from the Management Console

During the startup, the Process Discovery Analyzer connects to the Management Console to receive the necessary settings and information about the Process Discovery Groups to start the analysis.

Note Analyzer and Management Console version must be the same. If the version does not match, the Analyzer reports a warning.

Set up Management Console URL and authentication settings to connect to the Management Console. The Process Discovery Analyzer options section explains how to set the options depending on the way the Analyzer is deployed.

Analyzing data

Process Discovery Analyzer processes all recorded data collected by the agents within the Process Discovery groups. The analysis is performed for every Process Discovery group separately.

After the connection to the Management Console is established, the Analyzer checks the connection to the database. If the database connection is established successfully, the Analyzer starts the analysis.

Note The Analyzer does not perform the analysis if it cannot connect to the Management Console or the Analyzer database.

If the Analyzer cannot connect to a Process Discovery group database, such a group is omitted from the analysis.

If the analysis is performed successfully for at least one Process Discovery group, it is considered successful and the Analyzer outputs the "Data analysis finished" message. You can view the results of the successful analysis in the Kofax Analytics for RPA dashboard.

After the analysis is finished, the Analyzer provides the time of the next run.

Log file
The Analyzer log file (analyzer.log) is located in the Analyzer Application Data folder. For example, the path on Windows may look as follows:

C:\Users\UserName\AppData\Local\KofaxRPAProcessDiscoveryAnalyzer\Logs

Process Discovery Analyzer options

Process Discovery Analyzer deployed using Docker on Linux

When Analyzer is deployed using Docker, options are specified in the environment sections inside the docker-compose.yml file before creating a Docker image. If you want to change the settings after you create an image file, open docker-compose.yml, edit the options, and build an image again by running the following command in the terminal.

docker-compose -p process_discovery -f compose-examples/docker-compose.yml up --build

To avoid possible issues, clear the cache by running the following command before building the Analyzer image.

docker-compose -p process_discovery -f compose-examples/docker-compose.yml rm -v

See "Deploy Analyzer using Docker on Linux" in the Administrators Guide for more information.

docker-compose.yml contains the following sections:

services section
  • MC_URL: Management Console URL

  • MC_USER: A name to log in to the Management Console

  • MC_PASSWORD: A password to log in to the Management Console

  • LOG: Sets logging level. Possible values are CRITICAL, ERROR, WARNING, INFO, DEBUG.

mysql-server-service section
MYSQL_ROOT_PASSWORD: Specify a password for the root user to access the database.
Process Discovery Analyzer deployed without Docker

To see the list of Analyzer options with descriptions, in the console window run either KofaxRPAProcessDiscoveryAnalyzer.exe for Windows platform or KofaxRPAProcessDiscoveryAnalyzer for Linux platform with -h or --help parameter, such as:

KofaxRPAProcessDiscoveryAnalyzer.exe --help

Process Discovery Analyzer options

Option

Description

-h, --help

Shows the help message and exits.

--mc-url

Management Console URL.

--mc-user

Management Console username.

--mc-password

Management Console password.

--log

Sets logging level. Possible values are CRITICAL, ERROR, WARNING, INFO, DEBUG.

--open-doc

Opens the Analyzer documentation.

Analyzer default settings
--mc-url=localhost:50080
--log=info