Manual Installation
Last updated
Last updated
The following procedure applies to the setup using the WorkflowGen manual installation pack.
The web server and database server requirements must be met before proceeding with the following installation.
Start by extracting the manual installation pack (.zip
) to a temporary folder on the WorkflowGen web server (e.g. DRIVE:\temp
).
The installation pack contains these folders:
Databases
: The MS SQL Server database creation scripts
Inetpub
: The WorkflowGen application files
Program Files
: The WorkflowGen Windows services application file
The recommended physical directory structure for WorkflowGen web application files and folders should be under DRIVE:\Inetpub\wwwroot\wfgen
. This folder contains static resources such as images, HTML files and process data, and the applications used by WorkflowGen.
Copy the source \Inetpub
folder to your destination DRIVE:\
(e.g. DRIVE:\Inetpub\wwwroot\wfgen
).
Copy the source Advantys
folder (\Program Files\Advantys
) to your destination DRIVE:\Program Files
(e.g. DRIVE:\Program Files\Advantys\WorkflowGen\Services\bin
).
✏️ Note: If you already have another version of WorkflowGen installed on the same server and you want to keep your previous WorkflowGen services, we suggest you choose another installation folder for version 9 (e.g. DRIVE:\Program Files\Advantys\WorkflowGen v9\Services\bin
).
You now need to set up one of the three supported database servers:
WorkflowGen does not support case sensitive collation, so you must set up the database to be case insensitive to avoid errors.
create.sql
SQL scriptOpen the SQL Server Management Studio tool and connect to your database server with an administrator account (e.g. SA
).
Create a new database (e.g. WFGEN
).
Create a new SQL Server user account (e.g. WFGEN_USER
).
Give this user db_datawriter
and db_datareader
permissions for the WFGEN
database.
Open the DRIVE:\temp\manual\Databases\MsSQLServer
source folder and run the create.sql
script on the new database instance.
Open the SQL Server Management Studio tool and connect to your database server with an administrator account (e.g. SA
).
Create a new database (e.g. WFGEN
).
Create a new SQL Server user account (e.g. WFGEN_USER
).
Give this user db_datawriter
and db_datareader
permissions for the WFGEN
database.
Open the DRIVE:\temp\manual\Databases\MsSQLServer
source folder and run the create.sql
database creation script on the new database instance.
Azure SQL database needs to be created and configured manually; see the Azure SQL database configuration section in the WorkflowGen for Azure guide for instructions on how to do this.
As of version 10.0.2, WorkflowGen supports PostgreSQL 17.5 as a database engine. To create a new WorkflowGen database in your PostgreSQL server, follow the instructions in the PostgreSQL documentation, then follow the instructions below based on the operating system on which you're hosting the database.
The manual installation package is specific to PostgreSQL on Windows. If you’re hosting PostgreSQL on another platform, install the appropriate version of the pgvector
extension (required by the semantic search and AI features in WorkflowGen 10 to support the vector
datatype) for your environment. It must be installed and enabled prior to creating the WorkflowGen database. See the instructions for non-Windows platforms below.
If you're running PostgreSQL on Windows, download the pgvector
v0.8.0 extension from pgvector_pgsql_windows 0.8.0_17.3, then install and enable it.
If you’re running PostgreSQL on Linux, macOS, or Docker, install the pgvector
extension using your environment’s package manager or from the official GitHub repository. To this, follow the instructions below according to your environment:
sudo apt install postgresql-server-dev-all
git clone https://github.com/pgvector/pgvector.git
cd pgvector
make && sudo make install
Once installed, enable the extension in your WorkflowGen database:
CREATE EXTENSION IF NOT EXISTS vector;
Initialize the WorkflowGen schema by executing the following scripts in order:
Databases\PostgreSQL\Create_WFG_SQL_Tables.sql
Databases\PostgreSQL\Create_WFG_SQL_PKeys.sql
Databases\PostgreSQL\Create_WFG_SQL_FKeys.sql
Databases\PostgreSQL\Create_WFG_SQL_Indexes.sql
Databases\PostgreSQL\Create_WFG_SQL_Triggers.sql
Databases\PostgreSQL\Create_WFG_SQL_Const.sql
Create a new PostgreSQL user (e.g. wfgen_user
) and grant read/write access to the WorkflowGen database.
Configure WorkflowGen to connect to PostgreSQL by updating the connection string in the \wfgen\web.config
file.
📌 Example:
<connectionStrings>
<add name="MainDbSource" connectionString="Host=localhost;Username=wfgen_user;Password=[wfgen_user_password];Database=[workflowgen_db_name];" providerName="Npgsql" />
</connectionStrings>
Preview scope: PostgreSQL support is currently in preview and may be subject to changes. It is recommended for testing and evaluation purposes only.
.NET compatibility: WorkflowGen uses the Npgsql data provider to connect to PostgreSQL. Ensure compatibility with your installed .NET runtime and libraries.
Case sensitivity warning: PostgreSQL treats unquoted identifiers as lowercase by default. Ensure consistent casing and proper quoting if customizing schema objects or running manual queries.
Feature parity: Some WorkflowGen features may behave differently on PostgreSQL due to differences in SQL syntax, functions, or performance characteristics. Full parity with MS SQL Server is being evaluated during this preview.
Testing recommendation: For evaluation, install WorkflowGen with PostgreSQL in a separate test environment to avoid impacting production systems.
WorkflowGen requires a valid Windows NT or Active Directory account. This account will be used by the WorkflowGen Administrator, but it's not necessary to define it as an NT or Active Directory Administrator.
Open and edit the DRIVE:\Inetpub\wwwroot\wfgen\web.config
WorkflowGen web configuration file.
Update the database connection string:
MS SQL Server: <add name="MainDbSource" connectionString="Data Source=localhost;Initial Catalog=WFGEN;User ID=WFGEN_USER;Password=Admin123!;" providerName="System.Data.SqlClient" />
Azure SQL Database: See the Azure SQL database configuration section in the WorkflowGen for Azure guide.
Update the WorkflowGen Administrator
username to allow access to the Configuration Panel (e.g. <add key="ApplicationConfigAllowedUsersLogin" value="wfgen_admin" />
).
Update the application URL (e.g. <add key="ApplicationUrl" value="http://yoursite/wfgen" />
).
Add a 32-character alphanumeric encryption key (e.g. <add key="ApplicationSecurityPasswordSymmetricEncryptionKey" value="XXXXXXXXXXXXXXXXXXX....." />
).
For more information about the other configuration settings, see the Web and Application Configuration Parameters appendix.
Open and edit the DRIVE:\Program Files\Advantys\WorkflowGen\Services\bin\WfgWorkflowEngineService.exe.config
Engine service configuration file.
Update the WorkflowGen web configuration path (e.g. <add key="WebConfigPath" value="DRIVE:\inetpub\wwwroot\wfgen\web.config" />
).
Open and edit the DRIVE:\Program Files\Advantys\WorkflowGen\Services\bin\WfgDirectoriesSyncService.exe.config
Directory Synchronization service configuration file.
Update the WorkflowGen web configuration path (e.g. <add key="WebConfigPath" value="DRIVE:\inetpub\wwwroot\wfgen\web.config" />
).
✏️ Note: WfgWorkflowEngineService.exe
and WfgDirectoriesSyncService.exe
might be blocked. To check this, right-click on them and choose Properties. If the Security section is displayed at the bottom of the General tab, these executables have been blocked; in this case, click Unblock.
Run DRIVE:\Program Files\Advantys\WorkflowGen\Services\bin\winsvc-install.cmd
as Administrator.
It's recommended that WorkflowGen be isolated from other applications by creating its own application pool and associating all declared applications with the new application pool.
In IIS Manager, click Application pools. In the right-hand pane, right-click and choose Add application pool, then give it a name (e.g. WorkflowGen
).
Select the .NET Framework 4 version.
Select Integrated pipeline mode.
Click OK.
Launch IIS Manager and expand the tree structure under the IIS server name where you want to create the new site.
Right-click on the Sites icon and choose Add Web Site. Enter the name of the site, select its application pool (if other than the default), and enter the physical path of the root (click Browse and select the \wwwroot
folder, usually DRIVE:\inetpub\wwwroot\
).
Select the binding as being http
or https
(note that https
requires an SSL certificate). Select a port (the default is 80
) and/or a host header. Contact your IIS administrator to review your options regarding setting up appropriate website settings.
The default.aspx
default document type must be created if it doesn't exist. By default, this default document should exist on an IIS server running .NET.
To verify this, click the site's icon and ensure that the pane on the right-hand side shows the Features view (the tab at the bottom of the pane allows you to switch between Features and Content). Double-click the Default document icon. If default.aspx
is missing from the list, add it to the beginning of the comma-separated list displayed. To improve performance, you can move default.aspx
to the beginning of the list if it's not already there.
Click the site's icon and ensure that the pane on the right-hand side shows the Features view.
Double-click the Authentication icon.
Right-click on Anonymous authentication and choose Disable.
Right-click on Basic authentication and choose Enable. You'll be able to change the authentication method by following the instructions in the Security section.
In IIS Manager, right-click on wfgen
under the \wwwroot
folder and select Convert to application.
Select the WorkflowGen application pool if it's not the default, then click OK.
The \wfgen\ws
and \wfgen\WfApps\WebForms
applications within WorkflowGen must be created. To do this, repeat the same steps you performed for \wfgen
in the previous section.
If you're using IIS 8 and above and your application pool is set to use Classic Managed Pipeline Mode, make sure ASP.NET v4.0.30319 is set to Allowed
in the IIS manager ISAPI and CGI Restrictions list.
File permission settings can be configured as follows for the WorkflowGen application identity:
DRIVE:\Inetpub\wwwroot\wfgen
: Modify all
According to your authentication method (see Security), the WorkflowGen application identity can be:
The corresponding Windows users
The ASP.NET or IIS application pool identity
To use the optional GraphQL, incoming webhooks, OpenID Connect Auth, and SCIM APIs, you must first install the following requirements:
✏️ Note: This library is required if you encounter the error The specified module could not be found
regarding the edge
and edge-js
libraries when accessing the /wfgen/graphql
, /wfgen/hooks
, or /wfgen/scim
web apps.
In IIS, convert /wfgen/graphql
to an application with a .NET 4 application pool (integrated pipeline).
Configure the GraphQL application authentication mode:
For Windows or Basic authentication: Enable Basic authentication.
For WorkflowGen Applicative authentication:
Make sure the /wfgen
web application already has WorkflowGen Applicative authentication enabled.
Enable Anonymous authentication.
In IIS, convert /wfgen/hooks
to an application with a .NET 4 application pool (integrated pipeline), and configure the webhook application in Anonymous authentication mode.
In IIS, convert /wfgen/auth
to an application with a .NET 4 application pool (integrated pipeline), and configure the application in Anonymous authentication mode.
In IIS, convert /wfgen/scim
to an application with a .NET 4 application pool (integrated pipeline), and configure the application in Anonymous authentication mode.