Upgrade
Overview
The following procedures apply to the WorkflowGen 10.4.0 upgrade pack, available at https://github.com/advantys/workflowgen-releases/releases.
Package contents
The upgrade pack is distributed as a compressed file containing the following folders:
Inetpub: WorkflowGen web application filesProgram Files: WorkflowGen Windows Services filesDatabases: WorkflowGen database update and creation files
IIS server
Stop the IIS server (or at least your WorkflowGen web applications) if other websites are using the same IIS server.
WorkflowGen Windows Services
Stop the WorkflowGen Directory Sync and Engine services in the Windows Services Management Console.
Backup
Application and data files
Back up the following folders:
DRIVE:\Inetpub\wwwroot\wfgenDRIVE:\Program Files\Advantys\WorkflowGen
If the file storage path isn't the standard DRIVE:\Inetpub\wwwroot\wfgen\App_Data path, then you have to back up the corresponding folder.
Database
Perform a standard database backup using your DBMS tools.
Update WorkflowGen web application files
Delete deprecated Node.js application files and folders
Verify if the following deprecated files and folders used by Node.js-based applications still exist in your \wfgen folder, and delete them if they do.
Delete the following files and folders from the
\wfgen\graphqlfolder:\controllers\models\node_modules\services\utilsconfig.jsconfig.production.jsserver.js
Delete the following files and folders from the
\wfgen\hooksfolder:\controllers\models\node_modules\services\test\utilsconfig.jsconfig.production.jsserver.jsupload.js
Delete the following files and folders from the
\wfgen\authfolder:\controllers\models\node_modules\static\utilsconfig.jsconfig.production.jsserver.js
Delete the following files and folders from the
\wfgen\scimfolder:\controllers\models\node_modules\services\utilsconfig.jsconfig.production.jsserver.js
Delete the
\node_modulesfolder from the\wfgen\mcpfolder.
Delete deprecated assembly files
Delete the following deprecated assembly .dll files from the \wfgen\bin, \wfgen\ws\bin, and \Program Files\Advantys\WorkflowGen\services\bin folders:
Advantys.DirectoriesAdvantys.Directories.Web.UI.AdministrationAdvantys.Web.UI.ChartingAdvantys.Workflow.Applications.ExecSqlAdvantys.Workflow.Applications.GetUsersFromDirAdvantys.Workflow.Applications.MergeFormAdvantys.Workflow.Applications.RestApiClientAdvantys.Workflow.Applications.SendMessageAdvantys.Workflow.Applications.XmlToDatabaseAdvantys.Workflow.Applications.XmlTransAdvantys.Workflow.ReportsAdvantys.Workflow.Web.UI.Reports
Copy the upgrade pack content
Copy and overwrite the upgrade content from Update\Inetpub\wwwroot\wfgen to your WorkflowGen web application folder. By default, the suggested physical path is DRIVE:\Inetpub\wwwroot\wfgen.
Domain users and the Windows accounts used to run the WorkflowGen IIS application pool and Engine service must have read and write permissions for the
\wfgen\App_Datafolder.Do NOT copy and overwrite your existing
DRIVE:\Inetpub\wwwroot\wfgen\web.configfile if you want to keep your current WorkflowGen configuration settings and database connection information.It’s possible that the following default CSS files have been updated in this release and could overwrite any changes you had made in your existing installation:
\wfgen\App_Themes\Default\portal\css\Default.css\wfgen\App_Themes\Default\admin\css\Default.css
If you've made changes to any of the default files in the following folders (e.g.
*.aspx,*.css,*.resxfiles), make a backup of the existing files prior to the upgrade and manually re-apply these changes to the corresponding version 9.x.x files:\wfgen\wfgen\App_Themes\wfgen\App_Data\Templates\Emails\wfgen\App_Data\Templates\Forms\wfgen\App_Data\Templates\Processes
Update WorkflowGen Windows Services files
Delete deprecated DLL file
Delete the deprecated DRIVE:\Program Files\Advantys\WorkflowGen\Services\bin\EAGetMail40.dll file.
Overwrite the WorkflowGen Windows Services folder
Overwrite the contents of your WorkflowGen Windows Services folder with the contents of Update\Program Files\Advantys\WorkflowGen. By default, the suggested physical path is DRIVE:\Program Files\Advantys\WorkflowGen.
Do NOT copy and overwrite your existing DRIVE:\Program Files\Advantys\WorkflowGen\Services\bin\*.config files.
Update Node.js program files
First, overwrite the contents of your Node.js program folder with the contents of Update\Program Files\Nodejs. By default, the suggested physical path is DRIVE:\Program Files\Nodejs.
Then, copy node.exe.config and trace.config (located in Update\Program Files\Nodejs) to DRIVE:\Program Files\Nodejs.
If there's already a node.exe.config file in the DRIVE:\Program Files\Nodejs folder, do not overwrite it. Instead, add the following to the existing file's <configuration> node:
Update configuration files
This section contains configuration parameter changes you need to apply, based on the version of WorkflowGen from which you're upgrading.
This section has been divided to provide a quicker reference for clients upgrading from version 8.0.0 and later. If you're upgrading from version 7.22.15 or earlier, see the Legacy Upgrade section and perform the required modifications to the configuration files based on the version from which you're upgrading, then return to this section and continue with the rest of the required modifications.
📌 Examples
When upgrading to version 10.4.0 from version 9.5.2, apply the changes in the When upgrading from all 9.x.x versions and earlier, When upgrading from version 10.0.5 and earlier, When upgrading from version 10.1.0 and earlier, When upgrading from version 10.2.2 and earlier, and When upgrading from version 10.3.0 and earlier sections.
When upgrading to version 10.4.0 from version 10.3.0, apply the changes in the When upgrading from version 10.3.0 and earlier section only.
When upgrading from version 8.0.0 and earlier
Add the following new parameters to
<appSettings>:Remove the following deprecated parameter from
<appSettings>:
When upgrading from version 8.0.1 and earlier
Add the following new parameters to <appSettings>:
When upgrading from version 8.0.2 and earlier
Add the following new parameters to <appSettings>:
When upgrading from version 8.0.7 and earlier
Add the following new parameter to
<appSettings>:Update the value of the
EngineServiceTimeoutSystemActionFrequencyparameter to120000as follows:
When upgrading from version 8.0.10 and earlier
Add the following new parameter to <appSettings> :
When upgrading from version 8.1.0 Beta and earlier
Update the value of the following parameter in
<appSettings>:Remove the following parameters from
<appSettings>from version 8.1.0 Beta only:
When upgrading from version 8.1.2 and earlier
Add the following new parameters to <appSettings> :
When upgrading from version 8.1.3 and earlier
Add the following new parameters to
<appSettings>:Update the
bindingRedirectnode in all of the affected configuration files (listed below) from<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />to<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />:\wfgen\web.config\wfgen\ws\web.config\Program Files\Advantys\WorkflowGen\Services\bin\WfgWorkflowEngineService.exe.config\Program Files\nodejs\node.exe.config
When upgrading from version 8.2.4 and earlier
Add the following new parameter to
<appSettings>:Update the value of the following parameter in
<appSettings>:Remove the following deprecated parameters from
<appSettings>:
When upgrading from version 8.2.4 and earlier OR from version 9.0.0 Beta (v9 Beta 1)
Add the following new parameters to <appSettings>:
When upgrading from version 9.0.1 Beta (v9 Beta 2) and earlier
Add the following new parameters to <appSettings>:
When upgrading from version 9.0.2 Beta (v9 Beta 3) and earlier
Add the following new parameter to <appSettings>:
When upgrading from version 9.0.7 and earlier
Rename the following parameters in
<appSettings>:as
Add the following new parameter to
<appSettings>:
When upgrading from version 9.1.0 and earlier
If you want to enable default HTTP error handling by WorkflowGen, replace the following parameter in <appSettings>:
with the following:
When upgrading from version 9.2.9 and earlier
Enable
ApplicationSecurityEnableWebAppsSecureModeby setting this parameter toY, as shown here:Add the following new parameter and define a custom encryption key:
Replace
CUSTOM_KEYwith at least 32 characters (256 bits) for strong encryption. Use a combination of uppercase and lowercase letters, numbers, and special characters.Clients using custom Visual Studio webforms should be upgrading to and referencing the latest
WorkflowGen.My.dllto support this update. If the webform uses its ownweb.config, theApplicationSecurityEnableWebAppsSecureModeandApplicationSecurityEncryptionKeykeys should also be redefined there.
When upgrading from version 9.2.11 and earlier
Add the following new parameters to <appSettings>:
Replace the following code in <runtime>:
with the following:
When upgrading from all 9.x.x versions and earlier
Step 1: Add the following new parameters to <appSettings>:
⚠️ Important: The default language code for full-text search (GenerateChunksLanguageCode in the web.config file and WFDATASET_CHUNK database table index) is set to 0 (Neutral). We recommend setting this to the appropriate language code that matches the primary language of your request data text and file values for better search results. For example, use 1033 for English or 1036 for French:
You must also set the same language code in the database creation script (Create_WFG_SQL_Indexes.sql) or update script (Update_WFG-V10-0-0.sql) before running it:
To retrieve the full list of supported language codes, run the following SQL query in SQL Server Management Studio (SSMS):
📌 Example of settings when using OpenAI embeddings API:
📌 Example of settings when using Azure OpenAI embeddings API:
📌 Example of settings when using a local LM Studio server with a custom text embedding model:
Step 2: Add the following new parameters to <appSettings>:
📌 Example of settings for Azure OpenAI that uses the api-key method and header:
📌 Example of settings for OpenAI and local LM Studio server that uses the bearer method and Authorization header:
Step 3: In these configuration files:
\wfgen\web.config\Program Files\Advantys\WorkflowGen\Services\bin\WfgWorkflowEngineService.exe.config\Program Files\Advantys\WorkflowGen\Services\bin\WfgDirectoriesSyncService.exe.config\Program Files\nodejs\node.exe.config
add the following to the configuration node:
Step 4: In these configuration files:
\wfgen\web.config\wfgen\ws\web.config\Program Files\Advantys\WorkflowGen\Services\bin\WfgWorkflowEngineService.exe.config\Program Files\nodejs\node.exe.config
update the <runtime> node with the following (or add it if it's not defined):
Step 5: In these configuration files:
\wfgen\wfapps\webforms\web.config\Program Files\Advantys\WorkflowGen\Services\bin\WfgDirectoriesSyncService.exe.config
update the <runtime> node with the following (or add it if it's not defined):
When upgrading from version 10.0.5 or earlier
Step 1: Add the following new parameter to <appSettings>:
Step 2: In <appSettings>, change the value of ApplicationSecurityAuthUsernameClaim to email as the default value. It should appear as follows:
Step 3: In \wfgen\wfapps\webforms\web.config, add the following under <configuration>:
Step 4: In \Program Files\nodejs\node.exe.config, add <probing privatePath="bin" /> to the <runtime> node. It should appear as follows:
When upgrading from version 10.1.0 and earlier
Step 1: Add the following new parameters to <appSettings>:
Step 2: In <appSettings>, change the value of OpenAIChatApiUrl to https://api.openai.com/v1/chat/completions. It should appear as follows:
Step 3: In <appSettings>, change the value of ApplicationDefaultFullWidth to Y. It should appear as follows:
When upgrading from version 10.2.2 and earlier
Step 1: Add the following MCP settings to <appSettings>:
You should add or merge these MCP settings during the upgrade procedure even if you're not enabling MCP immediately.
Set
OAuthServerEnabled=trueonly when WorkflowGen already uses OIDC or SAML authentication, or when the deployment includes switching WorkflowGen to OIDC or SAML. Otherwise, keepOAuthServerEnabled=false.When enabling MCP OAuth, generate a 32-byte base64 or base64url value for
OAuthServerKeyEncryptionKey, and set a strong random value forOAuthServerBridgeTokenSigningSecret. These values can be configured from the WorkflowGen Administration Module Configuration panel after the upgrade, or directly in theweb.configfile during scripted/manual upgrade work.
Step 2: Add the following SMTP settings to <appSettings>:
When upgrading from version 10.3.0 and earlier
Step 1: In \wfgen\web.confg\, add the following new parameters to <appSettings>:
Step 2: In \wfgen\web.config, replace the existing <location path="mcp"> block with:
The ASP.NET maxRequestLength value is in KB. The IIS maxAllowedContentLength value is in bytes.
Step 3: In \wfgen\mcp\web.config, add the matching request limit inside <system.webServer><security><requestFiltering>, before <hiddenSegments>:
The update pack supplies this change in \wfgen\mcp\web.config.sample. Do not replace the active MCP configuration file if it contains installation-specific iisnode settings.
If \wfgen\mcp\web.config does not exist because MCP was not previously enabled, copy web.config.sample to web.config when enabling the MCP child application.
Both the parent \wfgen\web.config limits and the child \wfgen\mcp\web.config limit must be merged for 50 MB MCP artifact requests.
Step 4: If MCP OAuth is already enabled, preserve these existing values exactly:
Do not copy blank sample values over the deployed secrets.
Step 5: As of version 10.3.1, WorkflowGen also supports the optional McpFileUploadPath, McpInputFileAllowedFolders, McpInputFileAllowedHttpUrls, and McpInputFileDownloadTimeout artifact settings. They are not present in the shipped root sample. Add them only when the WorkflowGen Integration Guide defaults must be overridden.
By default, WorkflowGen stages artifacts under Files\MCP\Uploads in ApplicationDataPath, allows that staging folder, allows no external HTTP(S) artifact locations, and uses a 100000 millisecond download timeout. Ensure the MCP IIS application-pool identity has read and write permission on the default or customized staging folder.
Step 6: If SMTP OAuth is configured, verify that ApplicationSmtpOAuthAccessTokenUri is an absolute HTTPS URL. As of version 10.3.1, WorkflowGen will reject a missing, relative, or non-HTTPS token endpoint.
Step 7: Update the following service configuration files:
In both
WfgWorkflowEngineService.exe.configandWfgDirectoriesSyncService.exe.config, add the following block immediately after the opening<configuration>element:In
WfgDirectoriesSyncService.exe.config, add the following<runtime>block immediately before the closing</configuration>element:In
WfgWorkflowEngineService.exe.config, replace the existing<runtime>block with the following:
When upgrading from version 10.3.1 and earlier
In \wfgen\web.confg\, add the following new parameters to <appSettings>:
When upgrading from WorkflowGen version 9.7.0 or later, you must preserve the existing Change events integrity key and data if this feature was enabled. See Preserving change events configuration in the Important notes before upgrading section for more information.
Update the root web configuration file
You must update your site’s root web.config file with the new URL Rewrite rules when upgrading to version 10.2.2 or earlier. If you're upgrading from version 10.3.0 and applied the sample during the 10.3.0 upgrade, there are no changes to make to the root web configuration file.
Make sure the URL Rewrite tool is installed on your WorkflowGen server.
There are two sample files provided in the installation pack. Compare and merge the target root sample.
If your WorkflowGen site uses the
/wfgenpath in its URL (e.g.https://yoursite/wfgen), refer to theInetpub\wwwroot\web.config(in the manual installation pack) orInetpub\wwwroot\web.config.samplesample file (in the update pack) for the new rules.If your WorkflowGen site does NOT use the
/wfgenpath in its URL (e.g.https://yoursite), refer to theInetpub\wwwroot\web.config.without-wfgensample file for the new rules.
MCP rules
For MCP OAuth support, make sure the root web.config file includes the following URL Rewrite rules inside <system.webServer><rewrite><rules>. Place these rules near the beginning of the <rules> list, immediately after the existing dashboard rewrite rules and before the existing portal/admin route rewrite rules.
In a standard /wfgen deployment, insert them after <rule name="Rewrite to wfgen dashboard" ...> and before <rule name="Rewrite to wfgen go to view" ...>.
Keep the three MCP rules together and in the order shown below. IIS URL Rewrite evaluates rules from top to bottom, and these MCP OAuth routes should be matched before broader WorkflowGen route rules.
For deployments where WorkflowGen is installed at the web root and the MCP endpoint is /mcp, use the corresponding root-deployment rules instead of the /wfgen-prefixed rules.
For this web-root deployment shape, insert the rules after <rule name="Rewrite to dashboard" ...> and before <rule name="Rewrite to go to view" ...>.
Change events rules
For Change events support, make sure the root web.config file includes the three Change events URL Rewrite rules from the shipped sample configuration. Keep the rules together and in the order shown below.
For a standard /wfgen deployment, use the rules from the standard root web.config.sample file. The rules must match these URL patterns, in this order:
^wfgen/admin/change-events/printable$^wfgen/admin/change-events/([0-9]+)$^wfgen/admin/change-events$
For deployments where WorkflowGen is installed at the website root, use the corresponding rules from the web.config.without-wfgen sample file. The rules must match these URL patterns, in this order:
^admin/change-events/printable$^admin/change-events/([0-9]+)$^admin/change-events$
Do not change the order of these rules when adding them to the root web.config file.
Update the login.aspx sample file (custom authentication only)
As of WorkflowGen 9.2.0, If you're using custom form authentication with a login page created based on the provided /wfgen/login.aspx sample template, you need to update the login page file. To do this:
Open your WorkflowGen site's
/wfgen/login.aspxfile (which might have been renamed).Replace the
redirectToUrl = "/wfgen/show.aspx?QUERY=WELCOME";line withredirectToUrl = "/wfgen/dashboard";.
Update Form Designer webforms for versions 8 and later
As of WorkflowGen version 8, the WorkflowGen.My.Web.UI.WebControls.dll assembly has been merged into WorkflowGen.My.dll. This breaking change impacts webforms created in the Form Designer and the webforms' \bin folders, so you must perform one of the following procedures:
Method 1: Use the provided PowerShell script
Run the \update\configuration\update-webforms-wfg-my-assembly.ps1 script in PowerShell inside the \wfgen\wfapps\webforms\ folder. This will automatically update your ASPX webforms and delete deprecated files and folders.
This script requires PowerShell version 7.0 or later.
It will update all .aspx files located in the \webforms folder, including those not managed by the Form Designer. If you have custom webforms in this folder that use another version of WorkflowGen.My.dll, then you should skip the changes to these .aspx files. You can do this by moving these files to a temporary folder before running the script, and then copying them back to the original folder.
📌 Usage example
Method 2: Manually
Delete the following files and folders from the
\wfgen\wfapps\webforms\bin\folder:WorkflowGen.My.Web.UI.WebControls.dllWorkflowGen.My.Web.Handlers.dll\de\fr\hu\pl
Upgrade each of your webforms created in the Form Designer, either by re-saving them or by manually replacing the
<%@ Register Assembly="WorkflowGen.My.Web.UI.WebControls" ... %>tag with<%@ Register Assembly="WorkflowGen.My" ... %>inside each of your.aspxfiles.
Update the WorkflowGen database
Run the SQL scripts listed below in order, starting with your current version of WorkflowGen.
This section has been divided to provide a quicker reference for clients upgrading from version 8.0.0 and later. If you're upgrading from version 7.22.15 or earlier, see the WorkflowGen Legacy Upgrade section and run the required database update scripts based on the version from which you're upgrading, then return to this section and continue with the rest of the required scripts.
For versions 8.0.1 and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V8-0-2.sql database update script in your SQL Server Management Studio tool.
For versions 8.0.2 and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V8-0-3.sql database update script in your SQL Server Management Studio tool.
For versions 8.0.x and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V8-1-0.sql database update script in your SQL Server Management Studio tool.
For versions 8.1.3 and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V8-2-0.sql database update script in your SQL Server Management Studio tool.
For versions 8.2.4 and earlier or version 9.0.0 Beta (v9 Beta 1)
Launch the Update\Databases\MsSQLServer\Update_WFG-V9-0-1.sql database update script in your SQL Server Management Studio tool.
For versions 9.0.1 Beta (v9 Beta 2) and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V9-0-2.sql database update script in your SQL Server Management Studio tool.
For versions 9.0.2 Beta (v9 Beta 3) and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V9-0-3.sql database update script in your SQL Server Management Studio tool.
For versions 9.0.7 and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V9-1-0.sql database update script in your SQL Server Management Studio tool.
For versions 9.2.5 and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V9-2-6.sql database update script in your SQL Server Management Studio tool.
For versions 9.2.7 and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V9-2-8.sql database update script in your SQL Server Management Studio tool.
For versions 9.2.11 and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V9-3-0.sql database update script in your SQL Server Management Studio tool.
For all 9.x.x versions and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V10-0-0.sql database update script in your SQL Server Management Studio tool.
⚠️ Important: If you've changed the language code in the web.config parameter GenerateChunksLanguageCode (default is 0 for Neutral) for full-text search, you must manually update the language code in the Update_WFG-V10-0-0.sql script. If you're creating a new WorkflowGen database, update Create_WFG_SQL_Indexes.sql instead. The language code must match the new GenerateChunksLanguageCode value. For example, use 1033 for English or 1036 for French:
To retrieve the full list of supported language codes, run the following SQL query in SQL Server Management Studio (SSMS):
For versions 10.0.0 (v10 Preview 1) and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V10-0-1.sql database update script in your SQL Server Management Studio tool.
For versions 10.0.1 (v10 Preview 2) and earlier
Launch the Update\Databases\MsSQLServer\Update_WFG-V10-0-2.sql database update script in your SQL Server Management Studio tool.
For versions 10.0.5 and earlier
If you're using MS SQL Server, launch the
Update\Databases\MsSQLServer\Update_WFG-V10-1-0.sqldatabase update script in your SQL Server Management Studio tool.If you're using PostgreSQL, launch the
Update\Databases\PostgreSQL\Update_WFG-V10-1-0.sqldatabase update script in your pgAdmin tool.
For versions 10.1.0 and earlier
If you're using MS SQL Server, launch the
Update\Databases\MsSQLServer\Update_WFG-V10-2-0.sqldatabase update script in your SQL Server Management Studio tool.If you're using PostgreSQL, launch the
Update\Databases\PostgreSQL\Update_WFG-V10-2-0.sqldatabase update script in your pgAdmin tool.
For versions 10.2.2 and earlier
If you're using MS SQL Server, launch the
Update\Databases\MsSQLServer\Update_WFG-V10-3-0.sqldatabase update script in your SQL Server Management Studio tool.If you're using PostgreSQL, launch the
Update\Databases\PostgreSQL\Update_WFG-V10-3-0.sqldatabase update script in your pgAdmin tool.
For versions 10.3.0 and earlier
If you're using MS SQL Server, launch the
Update\Databases\MsSQLServer\Update_WFG-V10-3-1.sqldatabase update script in your SQL Server Management Studio tool.If you're using PostgreSQL, launch the
Update\Databases\PostgreSQL\Update_WFG-V10-3-1.sqldatabase update script in your pgAdmin tool.
For versions 10.3.1 and earlier
If you're using MS SQL Server, launch the
Update\Databases\MsSQLServer\Update_WFG-V10-4-0.sqldatabase update script in your SQL Server Management Studio tool.If you're using PostgreSQL, launch the
Update\Databases\PostgreSQL\Update_WFG-V10-4-0.sqldatabase update script in your pgAdmin tool.
Before running the PostgreSQL script, configure the migration session so the intended WorkflowGen schema is the first effective schema for unqualified object creation. Confirm that current_schema() identifies that schema and that the existing wfprocess and users tables resolve in the same schema. A normal "$user", public search path is insufficient when the login has a private schema first, because reads can fall through to WorkflowGen while new objects are created in the private schema.
Do not hardcode public; use the installation's actual WorkflowGen schema and owner, avoid same-name shadow objects, and verify the new Change events tables and identity sequence were created beside the existing WorkflowGen tables. When access is granted object by object, grant the normal application table and identity-sequence rights on the new objects.
Configure IIS
Domain users and the Windows accounts used to run the WorkflowGen IIS application pool and Engine service must have read and write permissions for the \wfgen\app_data folder.
Update or create the application pool in .NET 4
The WorkflowGen website and web applications must now use an application pool in .NET 4. If this hasn't already been configured, do the following:
Install .NET Framework 4 on the server, if it's not already installed.
Update the existing application pool or create a new application pool using .NET Framework 4 for:
the WorkflowGen website
\wfgen\wfgen\wfapps\webforms(create this IIS web application if it isn’t already created)\wfgen\ws
If your application pool is set to use Classic Managed Pipeline Mode, make sure ASP.NET v4.0.30319 is set to
Allowedin the IIS manager ISAPI and CGI Restrictions list.
WorkflowGen Node.js-based web applications
To use the GraphQL API, incoming webhooks, OpenID Connect Auth, SCIM API, and MCP Server, you must first install the following requirements:
Visual C++ Redistributable ✏️ Note: This library is required if you encounter the error
The specified module could not be foundregarding theedgeandedge-jslibraries when accessing the/wfgen/graphql,/wfgen/hooks,/wfgen/scimand/wfgen/mcpweb apps.
To enable WorkflowGen GraphQL:
In IIS, convert
/wfgen/graphqlto an application with a .NET 4 application pool (integrated pipeline).Configure the GraphQL application authentication mode:
For Basic authentication: Enable Basic authentication.
For WorkflowGen Applicative authentication:
Make sure the
/wfgenweb application already has WorkflowGen Applicative authentication enabled.Enable Anonymous authentication.
Update the WorkflowGen
web.configfile with the following parameters used by GraphQL:
To enable WorkflowGen incoming webhooks:
Update the WorkflowGen
web.configfile with the following parameters used by incoming webhooks:In IIS, convert
/wfgen/hooksto an application with a .NET 4 application pool (integrated pipeline), and configure the hook application in Anonymous authentication mode.
To enable WorkflowGen SCIM:
In IIS, convert /wfgen/scim to an application with a .NET 4 application pool (integrated pipeline), and configure the application in Anonymous authentication mode.
To enable WorkflowGen OpenID Connect Auth:
In IIS, convert /wfgen/auth to an application with a .NET 4 application pool (integrated pipeline), and configure the application in Anonymous authentication mode.
To enable WorkflowGen MCP Server:
In IIS, convert
/wfgen/mcpto an application with a .NET 4 application pool using integrated pipeline mode.Configure the MCP application in Anonymous authentication mode.
Before turning on MCP OAuth, confirm that WorkflowGen is configured with OIDC or SAML authentication. Other WorkflowGen authentication modes are not supported as MCP browser login sources.
Configure the MCP OAuth settings in the MCP Server section on the Integration tab in the WorkflowGen Administration Module Configuration panel, or set the same
OAuthServer*andMcp*keys directly in the WorkflowGenweb.configfile during scripted upgrades. SetOAuthServerEnabled=trueonly when the OIDC/SAML requirement is met; otherwise leave it set tofalse.When manually merging
web.config, make sure the parent\wfgen\web.configfile contains the default<location path="mcp">child-application exclusion that removesApplicationSecurityAuthenticationModule.Verify the MCP health endpoint:
https://<workflowgen-url>/wfgen/mcp/health.
Restart the WorkflowGen server
Reboot your WorkflowGen web server.
New location of workflow application temporary and log files
The following workflow applications store their files in these new locations:
EFORMASPX:
\wfgen\App_Data\Files\EFormAspxXMLTODATABASE:
\wfgen\App_Data\LogFiles\XmlToDatabaseXMLTRANS:
\wfgen\App_Data\Files\XmlTransand\wfgen\App_Data\LogFiles\XmlTrans
Last updated