The WorkflowGen SQL reporting module uses SQL views to gather important information about your users, requests, and actions, allowing you to create custom data reports.
WorkflowGen version 7.12.0 or later
SQL Server 2012 or later
The SQL reporting module setup files are located in the
\Databases\MsSQLServer\Reporting folder in the manual WorkflowGen installation pack:
To install the SQL views:
Open SQL Server Management Studio (SSMS) or Azure Data Studio.
Connect to your WorkflowGen database (e.g.
Run each of the
VIEW_PUB_*.sql files to create the SQL views.
For better performance without overloading the main WorkflowGen database, you can create a dedicated SQL reporting database and replicate the SQL views data to their specific tables.
This requires the SQL Server replication service and SSMS. The SQL views must be created as described in the Installing the SQL views section above.
In SSMS, run
CreateReportingDatabase.sql to create the SQL reporting database on another SQL Server database instance.
Set up your WorkflowGen database as a
Publisher and a
Distributor to publish all the SQL views (e.g.
Set up the dedicated SQL reporting database as a
Subscriber to retrieve the data from the
Publisher in real-time data replication. For each of the SQL views, configure the respective table to receive the data from the view. For example:
DIR_V100 table gets data from the
REQ_FILE_V100 table gets data from the
The dedicated SQL reporting database should now be ready to use for custom data reports.