Releases: optimajet/WorkflowEngine.NET
Workflow Engine 16.3.0
Designer
- The
js-base64dependency has been upgraded from version 2.6.3 to 3.7.7. - The
path-to-regexpdependency in the designer samples has been updated from version 0.1.10 to 0.1.12. - The
expressdependency in the designer samples has been updated from version 4.21.1 to 4.21.2. - The
nanoiddependency in the designer samples has been upgraded from version 3.3.4 to 3.3.8. - The
json5dependency has been updated from version 2.2.0 to 2.2.3. - Fixed the
npxcommand-line issue. For more information, refer to the documentation.
Workflow Engine 16.2.1
Designer
- The
nanoiddependency has been updated from 3.3.7 to 3.3.8. - The
expressdependency has been updated from 4.21.0 to 4.21.2. - The
path-to-regexpdependency has been updated from 0.1.10 to 0.1.12. - The
cross-spawndependency has been updated from 7.0.3 to 7.0.6.
Samples
- The .NET Framework samples are no longer updated alongside the Workflow Engine release. You can update them yourself or ask our support team for assistance at [email protected].
Workflow API
- Fixed an issue with Mongo DB implementation where, if there were multiple duplicate entries in the schema collection, only the first duplicate was affected.
Workflow Engine 16.2.0
Core
- Fixed an issue in the MongoDB provider where
GenerateAsyncincorrectly threwInvalidOperationExceptioninstead ofSchemeNotFoundException. - Fixed an issue in the MongoDB provider where
GetProcessInstancesCountAsyncreturned an incorrect value. - Fixed an issue in the MongoDB provider where
GetSchemesCountAsyncworked incorrectly. - Fixed an issue in the Oracle provider where
SetSchemeIsObsoleteworked incorrectly. - Fixed an issue where the runtime logger did not capture inner exceptions.
- Fixed an issue where process exceptions set the state to
Idleinstead ofTerminated. - Fixed logging issues when parameters were null.
Designer
- The
http-proxy-middlewaredependency has been updated to version 2.0.7. - The
cross-spawndependency has been updated to version 7.0.6.
Plugins
- Added
DisableApprovalHistoryandDisableInboxflags to theApprovalPluginto disable approval history creation and inbox table population, respectively. - Added
AllowedActorsFilterfilter to theApprovalPluginto filter the list of actors available for approval.
Workflow Engine 16.1.0
Core
- Resolved an issue where the
StartingTransitionfield was not set duringProcessInstancecreation in the MongoDB provider.
Designer
- Fixed a
designerrendering issue when changing the language.
Workflow Engine 16.0.0
Breaking Changes
- The old
BPMNimport/exportfunctionality has been completelyremoved. Make sure to switch to the newBPMNplugin. For more information, refer to Bpmn documentation.
Core
Inline parameterswere added for bulk setting before and after the execution of an inline segment, withUIsupport for selecting parameters. For more information, refer to Scheme inlining documentation.
Designer
- Removed the erroneous ability to create a transition to a comment.
- The
rollupdependency has been updated to version 1.15.4. - The
cookiedependency has been updated to version 0.7.1. - The
socket.iodependency has been updated to version 4.8.0. - The
expressdependency has been updated to version 4.21.1.
Bug Fixes
- Fixed an issue where samples could not start due to the missing
Microsoft.Data.SqlClient.SNI.x64.dll. - Fixed a bug where regex substitution could cause the app to hang during inlined parameter processing.
- Fixed an error that occurred when double-clicking an inlined activity in
Process Viewmode.
Workflow Engine 15.0.1
Designer
- Corrected
designerpackages innpm. - Fixed issues with the
designersamples.
Workflow Engine 15.0.0
Please use version 15.0.1 instead of version 15.0.0.
Breaking changes
- Added
ESMsupport to theWorkflow Designer. The entry point forCommonJSremains unchanged. Nodehas been updated to version20.17.0.- The
Angulardesigner package and sample have been updated toAngular 18.
Core
- Multiple issues related to the functionality of Custom Activities have been fixed, and optimizations have been made.
- New settings for Custom Activities have been added. You can read more about them in this article.
Designer
- Fixed an issue in the
decision tablewhere thetransitiondid not set theclassifierwhen creating anactivity.
Workflow Engine 14.1.0
Core
- Fixed an issue where subprocess parameter values were being overwritten by default values of parameters defined in the schema. Now, parameters are no longer initialized with default values when creating a subprocess. If you previously relied on this behavior, you will need to update your existing schemas or set the
WorkflowRuntimeSettings.ObsoleteSubprocessParametersInitializationBehavioroption totrue. This setting will only affect parameters that are not copied when using theCopySpecified,IgnoreSpecifiedotIgnoreAllpolicy. When using theCopyAllpolicy, parameters will be copied from the parent process, making initialization unnecessary. Overwriting these parameters was a bug and not considered as breaking changes. - The
GetProcessInstancesAsyncmethod for the MongoDB provider has been fixed. Sorting and paging now work correctly. - The
GetSchemesAsyncmethod has been corrected, and tag lists are now generated properly. Sorting and paging for the MongoDB provider have also been fixed. - The
GetTopTimersToExecuteAsyncmethod now throws an exception when thetopargument is less than 0. The handling of this argument for the MongoDB provider has also been fixed.
Designer
webpackhas been updated to version5.94.0.axioshas been updated to version1.7.4.
Workflow Engine 14.0.0
Workflow Engine Web API
Introducing a new product in the Workflow Engine ecosystem: the Workflow Engine Web API. This is a library for the ASP.NET framework that allows you to integrate a pre-built Web API into your application for managing data and processes within Workflow Engine instances. This module is easy to integrate and highly customizable, eliminating the need for routine development work to integrate Workflow Engine into your web ecosystem.
Key features:
- RESTful Data API: Safely interact with the Workflow Engine database without the risk of internal process disruptions.
- RPC API (Coming soon…): Remotely manage the Workflow Engine Runtime instance.
- Permission-based Security: Fine-tune access to each API endpoint and generate claims for your users.
For more information, refer to the documentation.
Unique Indexes
- Unique indexes have been added to all database providers:
- WorkflowGlobalParameter: Type, Name;
- WorkflowInbox: ProcessId, IdentityId;
- WorkflowProcessInstancePersistence: ProcessId, ParameterName;
- WorkflowProcessTimer: ProcessId, Name.
- In MongoDB, the index for the WorkflowScheme collection (Code) is now unique.
You can update the data schema using the built-in migration mechanism for SQL databases, or manually run the update_14.0.0.js script for MongoDB. You may also choose not to use these indexes or selectively apply some of them as needed.
Potential Breaking Changes
- For MS SQL Server only: To add indexes, the field lengths for
WorkflowProcessInstancePersistence.ParameterNameandWorkflowProcessTimer.Namehave been changed fromNVARCHAR(max)toNVARCHAR(900). The migration script will automatically check if these fields contain data longer than 900 characters. If such data is found, the script will terminate with an error. In this case, you will need to manually shorten the data in these fields and rerun the migration. If you encounter difficulties during the upgrade process, please contact our support team.
Bug Fixes
- Fixed an issue where calling
GetInstancedStatuson MongoDB would result in an exception.
Workflow Engine 13.3.1
Designer
- Fixed a bug that caused the import of the @optimajet/workflow-designer-react package as an
ESMmodule to not work.