If you are using SetParameter action/activity from the Basic Plugin pay attention that:
If you need to preserve old behavior please switch on the "Don't compile expressions" setting of the Basic Plugin.
The following additional actions must be taken to upgrade to Workflow Server 2.9:
The following additional actions must be taken to upgrade to Workflow Server 2.8:
The following additional actions must be taken to upgrade to Workflow Server 2.7:
Install .NET Core 3.1, if you don't already install it.
Run the SQL script update_wfs_2_7 for all relative databases and MongoDB.
Add the following settings into the configuration file.
"ExternalEventLoggerConfig": {
"ConsoleTarget": [ "Error" ]
},
"IdentityServerSettings": {
"CertificateFile": "IdentityServer4Auth.pfx",
"CertificatePassword": "password",
"RedirectHosts": [ "http://localhost:8077", "http://localhost:8078" ],
"RedirectUrls": [],
"DefaultFormsRedirect": "http://localhost:8078",
"AuthorityBaseUrl": "http://localhost:8077",
"UseHostRedirectValidator": false
},
Updated to Workflow Engine .NET 4.2
Support of the multi-server mode has been added. If you need to run the Workflow Server instance in multi-server mode, add the following setting to the config.json file.
{
"IsMultiServer": true
}
Added database logs with records search possibility.
Added new Workflow API methods for managing a Workflow Server instance. Start, Stop and IsActive.
Added ability to develop the end-user forms (frontend interface) based on Vue.js. It is the beta version. Access control for these forms will be added in the next version. It is also possible in the next version the base library of controls will be changed.
If you use global Code Actions and you have several servers deployed, then to apply the changes you need to restart each of them. To do this, you can use the Start method from the Workflow API.
The following additional actions must be taken to upgrade to Workflow Server 2.6:
DynamicParameter should be applied to control such a parameter in the code.The following additional actions must be taken to upgrade to Workflow Server 2.5:
Run the SQL script update_2_7_to_2_8.sql for all relative databases.
IMPORTANT! Incorrect behavior was fixed when the subprocess was merged in the parent process via the set state of the parent process mechanism. Previously, the parent process parameters were OVERWRITTEN. Now, the parent process parameters won't be changed. Only new parameters from the subprocess will be written to the parent process automatically. The same way the merge via calculating conditions always works. If you consciously exploited this behavior, then the best way to get parameters from the subprocess is to use a property processInstance.MergedSubprocessParameters when merge occurs.
In the previous versions, implicit parameters passed by the WorkflowAPI methods were always interpreted as strings. Starting from version 2.5, the WorkflowServer converts these parameters to types (int, bool, double, DynamicParameter etc). If it’s important for you to keep the old behavior, add the following setting to the config.json file.
{
"ImplicitParametersParsingType": "Legacy"
}
In the previous versions, process parameters were transferred to Callback server in the camel case. That is, the first letter of the parameter name (for example, 'Parameter1') became small ('parameter1'). Now, the parameter name will not change. If it’s important for you to keep the old behavior, add the following setting to the config.json file.
{
"CallbackServerJsonSerialization": "CamelCase"
}
The following additional actions must be taken to upgrade to Workflow Server 2.4:
update_WFE_4_0.sql for all relative databases.SchemaName setting has been added to specify the database schema to which the server is connected.GetSchemeList method has been added to the server API, this method returns a list of schemes that exist on the server.LogInfo, LogError, LogMessage methods have been added to the server API - methods for writing to the log from outside the server.WorkflowRuntime object, which is always available in standard WFE actions. runtime.Logger - returns logger, for recording messages to the log. runtime.LogError (), runtime.LogDebug (), runtime.LogInfo () are methods for writing messages to the log.ExecuteCommand method from WorkflowAPI returns information on whether the command was executed and process state after execution (including all process parameters)IWorkflowActionProvider and IWorkflowRuleProvider to and perform fine-tuning of Workflow Engine was uploaded to (GitHub)[https://github.com/optimajet/workflowserver]