WorkflowGen 8.0.7 Upgrade

Overview

The following procedures apply to the WorkflowGen 8.0.7 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 files
  • Program Files: WorkflowGen Windows Services files
  • Databases: 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\wfgen
  • DRIVE:\Program Files\Advantys\WorkflowGen
If the file storage path is not the standard DRIVE:\Inetpub\wwwroot\wfgen\App_Data 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 these deprecated files and folders used by Node.js-based applications still exist in your \wfgen folder and delete them if they do.
  1. 1.
    Delete the following files and folders from the \wfgen\graphql folder:
    • \controllers
    • \models
    • \node_modules
    • \services
    • \utils
    • config.js
    • config.production.js
    • server.js
  2. 2.
    Delete the following files and folders from the \wfgen\hooks folder:
    • \controllers
    • \models
    • \node_modules
    • \services
    • \test
    • \utils
    • config.js
    • config.production.js
    • server.js
    • upload.js
  3. 3.
    Delete the following files and folders from the \wfgen\auth folder:
    • \controllers
    • \models
    • \node_modules
    • \static
    • \utils
    • config.js
    • config.production.js
    • server.js
  4. 4.
    Delete the following files and folders from the \wfgen\scim folder:
    • \controllers
    • \models
    • \node_modules
    • \services
    • \utils
    • config.js
    • config.production.js
    • server.js

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.Directories
  • Advantys.Directories.Web.UI.Administration
  • Advantys.Web.UI.Charting
  • Advantys.Workflow.Applications.ExecSql
  • Advantys.Workflow.Applications.GetUsersFromDir
  • Advantys.Workflow.Applications.MergeForm
  • Advantys.Workflow.Applications.RestApiClient
  • Advantys.Workflow.Applications.SendMessage
  • Advantys.Workflow.Applications.XmlToDatabase
  • Advantys.Workflow.Applications.XmlTrans
  • Advantys.Workflow.Reports
  • Advantys.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_Data folder.
  • Do NOT copy and overwrite your existing DRIVE:\Inetpub\wwwroot\wfgen\web.config file 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 have made changes to any of the default files in the following folders (e.g. *.aspx, *.css, *.resx files), make a backup of the existing files prior to the upgrade and manually re-apply these changes to the corresponding version 8.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

Copy node.exe.config and trace.config (located in Update\Program Files\nodejs) to DRIVE:\Program Files\nodejs.
If there is 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:
1
<runtime>
2
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
3
<dependentAssembly>
4
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
5
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
6
</dependentAssembly>
7
</assemblyBinding>
8
</runtime>
9
<system.diagnostics configSource="trace.config" />
Copied!

Update configuration files

This section contains configuration parameter changes to be applied based on the version of WorkflowGen from which you are upgrading.

📌 Examples

  • When upgrading to version 8.0.7 from version 7.22.3, apply the changes in the When upgrading from version 7.22.4 and earlier, When upgrading from version 8.0.0 and earlier, When upgrading from version 8.0.1 and earlier, and When upgrading from version 8.0.2 and earlier sections.
  • When upgrading to version 8.0.7 from version 8.0.3, 8.0.4, 8.0.5, or 8.0.6, there are no changes to make to the web configuration file.
You must remove the xmlns attribute from the web configuration file regardless of the version from which you are upgrading. See Remove the xmlns attribute for instructions on how to do this.

When upgrading from version 5.7.4 and earlier

Check the following parameters in your \wfgen\web.config and add them if they are not already there.
1
<add key="EngineEnableSelfServiceDataAssignException" value="N" />
2
<add key="EngineNotificationDefaultReplyTo" value="" />
3
<add key="EngineNotificationMaxFileAttSize" value="10" />
4
<add key="EngineNotificationTextDetection" value="Y" />
5
<add key="EngineNotificationServerTimeout" value="3" />
6
<add key="ApplicationDistributedDatabaseSourceMode" value="0" />
7
<add key="ApplicationEnableDistributedDatabaseSource" value="N" />
8
<add key="ApplicationEnableArchiveSiteRedirectConfirmation" value="Y" />
9
<add key="ApplicationArchiveSiteUrl" value="" />
10
<add key="ApplicationShowAssociatedDataWithEmptyValue" value="Y" />
11
<add key="ApplicationSecurityEnableWebAppsSecureMode" value="N" />
Copied!
WorkflowGen.My and WorkflowGen.My.Web.UI.WebControls (WorkflowFileUpload) version 3.0 or later are required in all your Visual Studio Web Forms if the ApplicationSecurityEnableWebAppsSecureMode security feature is enabled. For more information, see the Web apps security: Workflow parameters secure mode WorkflowGen Knowledge Base article.
1
<add key="PortalEnableComments" value="Y" />
2
<add key="PortalCommentsRefreshFrequency" value="30000" />
3
<add key="PortalCommentsPopUpWidth" value="376" />
4
<add key="PortalCommentsPopUpHeight" value="545" />
5
<add key="PortalCommentsSortBy" value="DATE_POST" />
6
<add key="PortalCommentsSortOrder" value="ASC" />
7
<add key="PortalCommentsExpandView" value="N" />
8
<add key="PortalCommentsListSize" value="25" />
9
<add key="PortalDisplayCodeNames" value="N" />
10
<add key="PortalMaxListSize" value="1000" />
11
<add key="PortalQuickViewEnabled" value="Y" />
12
<add key="PortalQuickViewDataName" value="FORM_ARCHIVE" />
13
<add key="PortalQuickViewDisplayOnMouseEvent" value="CLICK" />
14
<add key="PortalTextDetection" value="Y" />
15
<add key="PortalActivityCompleteInBackground" value="N" />
16
<add key="PortalEnableSearchResultAutoRedirect" value="Y" />
17
<add key="PortalCommonProcessDataNameList" value="" />
18
<add key="PortalReportEnableCustomColumns" value="Y" />
19
<add key="PortalReportAllowUserToCreateCustomColumns" value="Y" />
20
<add key="ReportsTextDetection" value="Y" />
21
<add key="AdministrationFormDataProviderName" value="System.Data.SqlClient, System.Data.OleDb, System.Data.Odbc, System.Data.OracleClient" />
22
<add key="AdministrationEnableDeletionRulesCheck" value="Y" />
23
<add key="AdministrationRestrictManagerToModifyGlobalParticipant" value="N" />
24
<add key="AdministrationFormDesignUndoLimit" value="30" />
25
<add key="DirectorySynchronizationMaxUserDeletionCount" value="0" />
26
<add key="DirectorySynchronizationSyncGroupMembersUsedInParticipantOnly" value="N" />
27
<add key="PortalFrameSetHeight" value="0,68,*,0" />
Copied!
The first number in the PortalFrameSetHeight value is the height of the banner. If your website is configured to display a banner, enter its height in pixels here. The other default values should not be changed.
1
<add key="PortalEnableCallingCard" value="Y" />
2
<add key="PortalReportAdvancedViewDefault" value="Y" />
3
<add key="PortalReportEnableCustomCharts" value="Y" />
4
<add key="PortalReportEnableQuickMassApproval" value="N" />
5
<add key="PortalReportAllowUserToCreateCustomCharts" value="Y" />
6
<add key="PortalDefaultWorkflowGraphicalMode" value="HTML5" />
7
<add key="ProcessesRuntimeWebServiceAllowedUsers" value="wfgen_admin" />
Copied!
You can copy the ProcessesRunTimeWebServiceAllowedUsers parameter from your existing \wfgen\ws\web.config to \wfgen\web.config.
1
<add key="EFormAspxPreviousFilesCleanUp" value="Y" />
Copied!
You can copy this parameter from your existing \wfgen\WfApps\WebApps\eFormASPX\web.config to \wfgen\web.config.
1
<add key="GetUsersFromDirMaxResultNb" value="100" />
Copied!
You can copy this parameter from your existing \wfgen\WfApps\WebServices\GetUsersFromDir\web.config to \wfgen\web.config.
1
<add key="XmlToDatabaseTestMode" value="N" />
2
<add key="XmlToDatabaseEnableTrace" value="N" />
Copied!
You can copy these parameters from your existing \wfgen\WfApps\WebServices\XmlToDatabase\web.config to \wfgen\web.config.
1
<add key="XmlTransPreviousFilesCleanUp" value="Y" />
2
<add key="XmlTransEnableTrace" value="N" />
Copied!
You can copy these parameters from your existing \wfgen\WfApps\WebServices\XmlTrans\web.config to \wfgen\web.config.
Remove the following deprecated parameters from <appSettings>:
1
PortalFollowUpRelevantDataListNumber
2
PortalPopupRelevantDataListNumber
3
PortalEnableRequestDataListPopUp
Copied!
Define the following nodes in <configuration>:
1
<location path="." inheritInChildApplications="false">
2
<system.web>
3
<httpRuntime requestValidationMode="2.0" maxRequestLength="10240" />
4
</system.web>
5
</location>
6
<location path="wfapps/webforms" inheritInChildApplications="false">
7
<system.web>
8
<httpRuntime requestValidationMode="2.0" maxRequestLength="10240" />
9
<pages clientIDMode="AutoID" controlRenderingCompatibilityVersion="3.5" />
10
</system.web>
11
</location>
12
<location path="ws" inheritInChildApplications="false">
13
<system.web>
14
<httpRuntime requestValidationMode="2.0" maxRequestLength="10240" />
15
</system.web>
16
</location>
Copied!
Define or update the following node in <configuration>/<system.web>:
1
<pages validateRequest="false" enableSessionState="false" />
Copied!

When upgrading from version 6.0.0 and earlier

Add the following new parameters to <appSettings>:
1
<add key="AdministrationDefaultWorkflowGraphicalMode" value="HTML5" />
2
<add key="EngineNotificationLogLevel" value="1" />
3
<add key="RemoteApprovalLogTraceLevel" value="3" />
4
<add key="RemoteApprovalMailServerSecurity" value="none" />
5
<add key="RemoteApprovalRefreshInterval" value="180000" />
6
<add key="RemoteApprovalMailServerType" value="POP" />
7
<add key="RemoteApprovalLifeSpan" value="0" />
8
<add key="RemoteApprovalMailServerPort" value="110" />
9
<add key="ApplicationSecurityPasswordManagementMode" value="V5" />
10
<add key="ApplicationSecurityMaxLoginAttempts" value="5" />
11
<add key="ApplicationSecurityMinimumPasswordLength" value="8" />
12
<add key="ApplicationSmtpPickupDirectory" value="DRIVE:\inetpub\mailroot\Pickup" />
Copied!
Replace the ApplicationSmtpPickupDirectory path above with the path of your SMTP gateway pickup folder.
1
<add key="ApplicationSmtpServerTimeout" value="3000" />
2
<add key="ApplicationSmtpDeliveryMethod" value="SmtpServer" />
Copied!
The ApplicationSmtpDeliveryMethod parameter defines the notification delivery method. By default, it uses the SMTP server, but you can change the SMTP delivery method to Pickup directory in the Administration Module Configuration Panel.

When upgrading from version 6.1.0 and earlier

Add the following new parameter to <appSettings>:
1
<add key="AdministrationAssociatedActivitiesToSwimlane" value="Y" />
Copied!

When upgrading from version 6.1.4 and earlier

Add or modify the AdministrationFormDataProviderName parameter as follows:
1
<add key="AdministrationFormDataProviderName" value="System.Data.SqlClient,System.Data.OleDb,System.Data.Odbc,System.Data.OracleClient,Oracle.DataAccess.Client" />
Copied!
The Oracle.DataAccess.Client value was added to this parameter in version 6.1.5.

When upgrading from version 6.1.6 and earlier

Add the following new parameters to <appSettings>:
1
<add key="ApplicationWebFormsPath" value="" />
2
<add key="EngineNotificationDefaultSenderName" value="" />
3
<add key="PortalDashboardAutoRefreshInterval" value="0" />
4
<add key="PortalActivityOnCompleteRedirectToView" value="N" />
Copied!

When upgrading from version 6.4.0 and earlier

Add the following new parameters to <appSettings>:
1
<add key="SendMessageProvider" value="TWILIO" />
2
<add key="SendMessageAccountSID" value="" />
3
<add key="SendMessageAuthToken" value="" />
4
<add key="SendMessageFrom" value="" />
5
<add key="SendMessageApiUrl" value="https://api.twilio.com/2010-04-01/Accounts/" />
6
<add key="SendMessageEnableLogs" value="Y" />
Copied!

When upgrading from version 6.5.0 and earlier

Add the following new parameter to <appSettings> to configure the SENDHTTPPOST workflow application log file, replacing the value n with 0 to disable logging, 1 for simple logs, or 2 for debug logs:
1
<add key="SendHttpPostLogLevel" value="n" />
Copied!

When upgrading from version 6.6.0 and earlier

Remove the following deprecated parameters from <appSettings>:
1
ApplicationImpersonificationUsername
2
ApplicationImpersonificationPassword
3
PortalDefaultWorkflowGraphicalMode
4
ApplicationEnableFlashDetection
Copied!

When upgrading from version 7.1.1 and earlier

Add the following new parameters to <appSettings>:
1
<add key="GraphqlQueryTimeout" value="90000" />
2
<add key="GraphqlOperationTimeout" value="30000" />
3
<add key="GraphqlMaxOperationCount" value="10000" />
4
<add key="GraphqlMaxInputFileSize" value="10240" />
5
<add key="GraphqlInputFileDownloadTimeout" value="100000" />
6
<add key="HookslInputFileDownloadTimeout" value="100000" />
7
<add key="HooksOperationTimeout" value="30000" />
8
<add key="HooksMaxInputFileSize" value="10240" />
9
<add key="EngineServiceTempApiFilesLifespan" value="2" />
Copied!

When upgrading from version 7.3.1 and earlier

Add the following new parameter to <appSettings>:
1
<add key="AdministrationDefaultConditionLanguage" value="JS" />
Copied!

When upgrading from version 7.6.0 and earlier

Add the following new parameters to <appSettings>:
1
<add key="ApplicationSmtpEnableSsl" value="N" />
2
<add key="ApplicationSmtpPort" value="" />
3
<add key="ApplicationSmtpUsername" value="" />
4
<add key="ApplicationSmtpPassword" value="" />
Copied!

When upgrading from version 7.9.1 and earlier

Add the following new parameters to <appSettings>:
1
<add key="GraphqlMaxInputFileContentSize" value="0" />
2
<add key="HooksMaxInputFileContentSize" value="0" />
3
<add key="GraphqlInputFileAllowedFolders" value="" />
4
<add key="HooksInputFileAllowedFolders" value="" />
Copied!
If you're using folders for GraphQL and/or incoming webhooks file operations (such as sending a file action parameter), you must update the values of the GraphqlInputFileAllowedFolders and HooksInputFileAllowedFolders parameters. See the GraphQL Input file allowed folders and Incoming Webhooks Input file allowed folders sections in the WorkflowGen Integration Guide for more information.

When upgrading from version 7.14.3 and earlier

Add the following new parameter to <appSettings>:
1
<add key="ApplicationSecurityAuthSessionRefreshEnableIFrame" value="Y" />
Copied!

When upgrading from version 7.14.8 and earlier

Add the following new parameters to <appSettings>:
1
<add key="EngineServiceInactiveRequestLifespanUnit" value="d" />
2
<add key="EFormAspxAcceptEmptyInputTextParam" value="Y" />
3
<add key="SendHttpPostMaxResponseLength" value="4194304" />
4
<add key="RestApiClientLogLevel" value="0"/>
5
<add key="RestApiClientRequestTimeout" value="3000" />
6
<add key="RestApiClientMaxResponseLength" value="4194304" />
7
<add key="RestApiClientEnableFilesCleanUp" value="Y" />
8
<add key="GetUsersFromDirLogLevel" value="0" />
9
<add key="XmlTransEnableFilesCleanUp" value="Y" />
10
<add key="MergeFormEnableFilesCleanUp" value="Y" />
11
<add key="GraphqlInputFileAllowedHttpUrls" value="" />
12
<add key="HooksInputFileAllowedHttpUrls" value="" />
Copied!
If you're using HTTP URLs for GraphQL and/or incoming webhooks file operations (such as sending a file action parameter), you must update the values of the GraphqlInputFileAllowedHttpUrls and HooksInputFileAllowedHttpUrls parameters. See the GraphQL Input file allowed HTTP URLs and Incoming Webhooks Input file allowed HTTP URLs sections in the WorkflowGen Integration Guide for more information.
Remove the following deprecated parameters from <appSettings>:
1
XmlTransPreviousFilesCleanUp
2
MergeFormTempFilesLifeSpan
Copied!

When upgrading from version 7.15.2 and earlier

  1. 1.
    Add the following nodes after the existing <location> nodes in \wfgen\web.config:
    1
    <location path="auth" inheritInChildApplications="false">
    2
    <system.webServer>
    3
    <modules>
    4
    <remove name="ApplicationSecurityAuthenticationModule" />
    5
    </modules>
    6
    </system.webServer>
    7
    </location>
    8
    <location path="hooks" inheritInChildApplications="false">
    9
    <system.webServer>
    10
    <modules>
    11
    <remove name="ApplicationSecurityAuthenticationModule" />
    12
    </modules>
    13
    </system.webServer>
    14
    </location>
    15
    <location path="scim" inheritInChildApplications="false">
    16
    <system.webServer>
    17
    <modules>
    18
    <remove name="ApplicationSecurityAuthenticationModule" />
    19
    </modules>
    20
    </system.webServer>
    21
    </location>
    Copied!
  2. 2.
    Remove the node below from \wfgen\auth\web.config, \wfgen\hooks\web.config, and \wfgen\scim\web.config, if present:
    1
    <modules>
    2
    <remove name="ApplicationSecurityAuthenticationModule" />
    3
    </modules>
    Copied!

When upgrading from version 7.15.4 and earlier

Add the following new parameter to <appSettings>:
1
<add key="PortalRedirectAllowedHttpUrls" value="" />
Copied!
As of version 7.15.5, the optional BACKURL_SUBMIT and BACKURL_CANCEL HTTP parameters used in custom WorkflowGen URLs (for example, when launching a new request and starting the first action within another website) now ONLY support absolute URLs (starting with http:// or https://), relative URLs (starting with /), or URLs defined in the PortalRedirectAllowedHttpUrls configuration parameter (e.g. value='blank.htm, myPage.htm').

When upgrading from version 7.15.5 and earlier

  1. 1.
    Add the following node after the existing <location> nodes in \wfgen\web.config:
    1
    <location path="graphql" inheritInChildApplications="false">
    2
    <system.webServer>
    3
    <httpProtocol>
    4
    <customHeaders>
    5
    <add name="Access-Control-Allow-Origin" value="*" />
    6
    <add name="Access-Control-Allow-Methods" value="GET, POST, OPTIONS, HEAD" />
    7
    <add name="Access-Control-Allow-Headers" value="Accept, Origin, Authorization, Content-Type, x-wfgen-impersonate-username, x-iisnode-auth_user" />
    8
    </customHeaders>
    9
    </httpProtocol>
    10
    </system.webServer>
    11
    </location>
    Copied!
  2. 2.
    Change the default value of RestApiClientRequestTimeout from 3000 to 30000 milliseconds.
  3. 3.
    Make the following modifications to each Node.js component's web.config file (located in \wfgen\graphql, \wfgen\hooks, \wfgen\scim, and \wfgen\auth):
    • Change the iisnode handler path from server.js to dist/server.js.
    • Change the rewrite rule url property from server.js to dist/server.js.
    It should look as follows:
    1
    <handlers>
    2
    <add name="iisnode" path="dist/server.js" verb="*" modules="iisnode"/>
    3
    </handlers>
    4
    5
    <rewrite>
    6
    <rules>
    7
    <rule name="DynamicContent">
    8
    <conditions>
    9
    <add input="{{REQUEST_FILENAME}}" matchType="IsFile" negate="True"/>
    10
    </conditions>
    11
    <action type="Rewrite" url="dist/server.js"/>
    12
    </rule>
    13
    </rules>
    14
    </rewrite>
    Copied!

When upgrading from version 7.16.5 and earlier

Add the following new parameters to <appSettings>:
1
<add key="AdministrationMaxHelpTextSize" value="10000" />
2
<add key="ApplicationSecurityAuthAdditionalScopes" value="" />
Copied!

When upgrading from version 7.18.1 and earlier

Add the following new parameter to <appSettings>:
1
<add key="ReportsTopProcessesNumber" value="10" />
Copied!

When upgrading from version 7.18.2 and earlier

Add the following new parameter to <appSettings>:
1
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
Copied!

When upgrading from version 7.20.0 and earlier

Add the following new parameters to <appSettings>:
1
<add key="ApplicationSecurityAuthResponseMode" value="" />
2
<add key="ApplicationSecurityAuthDecodeAccessToken" value="" />
Copied!

When upgrading from version 7.21.0 and earlier

Add the following new parameter to <appSettings>:
1
<add key="ExecSqlLogLevel" value="0" />
Copied!
As of WorkflowGen 7.22.0, the log level values for the existing GETUSERSFROMDIR, MERGEFORM, SENDHTTPPOST, and RESTAPICLIENT workflow applications have changed to 0 for no logs (default), 2 for information, and 3 for debugging. You can set (or reset) the log levels by updating the values of the following parameters accordingly:
1
<add key="GetUsersFromDirLogLevel" value="" />
2
<add key="MergeFormLogLevel" value="" />
3
<add key="SendHttpPostLogLevel" value="" />
4
<add key="RestApiClientLogLevel" value="" />
Copied!

When upgrading from version 7.22.0 and earlier

Remove the existing Access-Control-Allow-* custom header nodes from location path="graphql" (as shown below), since they are deprecated as of version 7.22.1:
1
<location path="graphql" inheritInChildApplications="false">
2
<system.webServer>
3
<httpProtocol>
4
<customHeaders>
5
<add name="Access-Control-Allow-Origin" value="*" />
6
<add name="Access-Control-Allow-Methods" value="GET, POST, OPTIONS, HEAD" />
7
<add name="Access-Control-Allow-Headers" value="Accept, Origin, Authorization, Content-Type, x-wfgen-impersonate-username, x-iisnode-auth_user" />
8
</customHeaders>
9
</httpProtocol>
10
</system.webServer>
11
</location>
Copied!
If you want to configure CORS to allow GraphQL API access from a third-party application, you must now follow the instructions in the Cross-origin resource sharing (CORS) section in the WorkflowGen Integration Guide.

When upgrading from version 7.22.4 and earlier

  1. 1.
    Add the following new parameters to <appSettings>:
    1
    <add key="AdministrationProcessQuickListSize" value="0" />
    2
    <add key="EngineServiceNotificationFrequency" value="60000" />
    3
    <add key="EngineServiceCancellationFrequency" value="120000" />
    4
    <add key="EngineServiceSynchroActionFrequency" value="15000" />
    5
    <add key="EngineServiceScheduledSystemActionFrequency" value="15000" />
    6
    <add key="EngineServiceTimeoutSystemActionFrequency" value="15000" />
    7
    <add key="EngineServiceCleanupFrequency" value="180000" />
    8
    <add key="EngineServiceMaxScheduledSystemActions" value="25" />
    9
    <add key="EngineServiceMaxTimeoutSystemActions" value="25" />
    10
    <add key="ApplicationSecurityAuthExposeAccessTokenInCookies" value="N" />
    11
    <add key="DocuSignUserGuid" value="" />
    12
    <add key="DocuSignAuthServer" value="" />
    13
    <add key="DocuSignClientId" value="" />
    14
    <add key="DocuSignHostServer" value="" />
    15
    <add key="DocuSignSendLogLevel" value="0" />
    16
    <add key="DocuSignCheckLogLevel" value="0" />
    17
    <add key="JsonToDataLogLevel" value="0" />
    Copied!
  2. 2.
    Remove the following parameters from <appSettings>:
    1
    <add key="DirectoryApplicationAssemblyQualifiedName" value="Advantys.Workflow.Directories.WorkflowDirectoryUserManager, Advantys.Workflow.Directories" />
    2
    <add key="DirectoryDeletionRulesAssemblyQualifiedName" value="Advantys.Workflow.Directories.WorkflowDirectoryDeletionRules, Advantys.Workflow.Directories" />
    3
    <add key="DirectoryMaxMapToUsers" value="100" />
    4
    <add key="DirectoryTruncateValue" value="50" />
    Copied!
  3. 3.
    Add the following to the <configuration> node:
    1
    <runtime>
    2
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    3
    <dependentAssembly>
    4
    <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
    5
    <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
    6
    </dependentAssembly>
    7
    </assemblyBinding>
    8
    </runtime>
    9
    <system.diagnostics configSource="trace.config" />
    Copied!
  4. 4.
    Add targetFramework="4.8" to the three web apps' httpRuntime nodes:
    1
    <location path="." inheritInChildApplications="false">
    2
    <system.web>
    3
    <httpRuntime requestValidationMode="2.0" maxRequestLength="10240" targetFramework="4.8" />
    4
    </system.web>
    5
    </location>
    6
    <location path="wfapps/webforms" inheritInChildApplications="false">
    7
    <system.web>
    8
    <httpRuntime requestValidationMode="2.0" maxRequestLength="10240" targetFramework="4.8" />
    9
    <pages clientIDMode="AutoID" controlRenderingCompatibilityVersion="3.5" />
    10
    </system.web>
    11
    </location>
    12
    <location path="ws" inheritInChildApplications="false">
    13
    <system.web>
    14
    <httpRuntime requestValidationMode="2.0" maxRequestLength="10240" targetFramework="4.8" />
    15
    </system.web>
    16
    </location>
    Copied!
  5. 5.
    Add the following to the <configuration> node in \Inetpub\wwwroot\wfgen\ws\web.config:
    1
    <runtime>
    2
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    3
    <dependentAssembly>
    4
    <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
    5
    <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
    6
    </dependentAssembly>
    7
    </assemblyBinding>
    8
    </runtime>
    Copied!
  6. 6.
    Add the following to <configuration> node in \Program Files\Advantys\WorkflowGen\Services\bin\WfgDirectoriesSyncService.exe.config:
    1
    <system.diagnostics configSource="WfgDirectoriesSyncService.exe.trace.config" />
    Copied!
  7. 7.
    Add the following to the <configuration> node in \Program Files\Advantys\WorkflowGen\Services\bin\WfgWorkflowEngineService.exe.config:
    1
    <system.diagnostics configSource="WfgWorkflowEngineService.exe.trace.config" />
    2
    <runtime>
    3
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    4
    <dependentAssembly>
    5
    <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
    6
    <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
    7
    </dependentAssembly>
    8
    </assemblyBinding>
    9
    </runtime>
    Copied!

When upgrading from version 8.0.0 and earlier

  1. 1.
    Add the following new parameters to <appSettings>:
    1
    <add key="RemoteApprovalAuthClientId" value="" />
    2
    <add key="RemoteApprovalAuthClientSecret" value="" />
    3
    <add key="RemoteApprovalAuthScope" value="" />
    4
    <add key="RemoteApprovalAuthAccessTokenUri" value="" />
    Copied!
  2. 2.
    Remove the following deprecated parameter from <appSettings>:
    1
    EngineTraceMode
    Copied!

When upgrading from version 8.0.1 and earlier

Add the following new parameters to <appSettings>:
1
<!-- AdobeSign -->
2
<add key="AdobeSignClientId" value="" />
3
<add key="AdobeSignClientSecret" value="" />
4
<add key="AdobeSignHostServer" value="" />
5
<add key="AdobeSignRefreshToken" value="" />
6
<add key="AdobeSignSendLogLevel" value="0" />
7
<add key="AdobeSignCheckLogLevel" value="0" />
Copied!

When upgrading from version 8.0.2 and earlier

1
<add key="EngineNotificationNotifyDelegator" value="Y" />
2
<add key="EnginePushNotificationSendExpoApiUrl" value="https://exp.host/--/api/v2/push/send" />
3
4
<!-- Docaposte -->
5
<add key="DocaposteUsername" value="" />
6
<add key="DocapostePassword" value="" />
7
<add key="DocaposteHostServer" value="" />
8
<add key="DocaposteOfferCode" value="" />
9
<add key="DocaposteOrganizationalUnitCode" value="" />
10
<add key="DocaposteSendLogLevel" value="0" />
11
<add key="DocaposteCheckLogLevel" value="0" />
Copied!

Remove the xmlns attribute

As of WorkflowGen version 7, you must remove the xmlns attribute from these configuration files:
1
\wfgen\web.config
2
\wfgen\ws\web.config
3
\wfgen\WfApps\WebForms\web.config
4
DRIVE:\Program Files\Advantys\WorkflowGen\Services\bin\WfgWorkflowEngineServer.exe.config
5
DRIVE:\Program Files\Advantys\WorkflowGen\Services\bin\WfgDirectoriesSyncService.exe.config
Copied!
To do this, change <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> to <configuration>.

Update the root web configuration file

Configure the WorkflowGen root website to auto-redirect to the wfgen web app

As of WorkflowGen 7.22.0, you should configure your WorkflowGen root website (e.g. https://server) to auto-redirect to the https://server/wfgen web app. To do this, follow the procedure below
  1. 1.
    Make sure the URL Rewrite tool is installed on your WorkflowGen server.
  2. 2.
    Create or update the web.config file in your website's root folder (e.g. DRIVE:\inetpub\wwwroot\web.config). ⚠️ Warning: This is not the same web.config file as the main WorkflowGen web.config file (located in DRIVE:\inetpub\wwwroot\wfgen\web.config).
  3. 3.
    Define the rewrite rule node as shown below (configuration / system.webServer / <rewrite> / <rules> / <rule>):