Releases: optimajet/WorkflowEngine.NET
Releases · optimajet/WorkflowEngine.NET
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.
Workflow Engine 13.3.0
Core
- Introduced centralized management for packages and their dependencies using
Directory.Build.propsandDirectory.Packages.props. - Added a new
ProcessDefinitionBuilder. For more details, refer to the documentation. - Upgraded
Newtonsoft.Jsonpackage from version 13.0.1 to 13.0.3. - Added the capability to extend the
Designer API.
Designer
- Corrected a typo in the Transition Edit Form.
Plugins
- Resolved an exception issue occurring in the
RealTimeTrackingPlugin. - Fixed an issue with an incorrect type in
HttpRequestActivitywithin theBasicPlugin.
Workflow Engine 13.2.2
Bug Fixes
- Fixed an issue where adding a BuildStep with a specific ordinal number would cause an exception during the creation of the Workflow Runtime.
- Fixed an issue where invoking Shutdown multiple times in the Real-Time Tracking Plugin caused errors.
Workflow Engine 13.2.1
Designer
- Fixed several issues with the behavior of the
CreateProcessactivity. - Fixed a bug with SignalR connection.
- Fixed a bug with plugin list.
- The
bracesdependency has been updated from version3.0.2to3.0.3. - Updated
engine.iofrom version6.5.4to6.5.5inWorkflow-designer-angular. - Updated
socket.io-adapterfrom version2.5.4to2.5.5inWorkflow-designer-angular. - Updated
wsfrom version8.16.0to8.17.1inWorkflow-designer-angular.
Core
- Fixed a bug in subprocesses execution.
- Updated
Npgsqlpackage inOptimaJet.Workflow.PostgreSQLto version8.0.2.
Providers
- Corrected the
GetProcessHistoryCountmethod in theMongoDBprovider.
Samples
- Updated
Microsoft.Identity.Clientfrom version4.60.3to4.61.3in Microsoft SQL WebForm sample. - Updated
Azure.Identityfrom version1.11.3to1.11.4in Microsoft SQL Sample.
Workflow Engine 13.2.0
Designer
- Fixed an issue with saving custom activity.
- Added the ability to set the schema name in the designer.
Core
- Added functionality to retrieve a list of all migrations and a list of unapplied migrations.
Documentation
- Updated the "Testing workflow schemes" article with corrections related to migrations.
Workflow Engine 13.1.0
Samples
- Removed all .NET Framework 4.8 Samples except for the Microsoft SQL Server Sample.
- Updated .NET Framework 4.8 Samples to WorkflowEngine 13.0.0.
- Added Blazor integration Sample.
Providers
- Updated Npgsql driver from version 8.0.2 to 8.0.3.
Workflow Engine 13.0.0
Real-Time Tracking Plugin
- Implemented a Real-Time Tracking plugin that extends the Workflow Designer with real-time functionality, allowing live updates of process states via SignalR. For more details, refer to the documentation.
Core
- Introduced the optional capability for automatic migration, allowing the creation and updating of the database schema without manually running scripts. This feature ensures that the Workflow Engine maintains a list of executed scripts accessible within the database.
Designer
- The Workflow Designer can now be initiated directly from the command line using the
npx @optimajet/workflow-designer $BackendUrl $SchemeCodecommand, which automates the fetching and execution of packages from the npm repository. For more details, refer to the documentation. - Added an 'About' button to the designer’s menu, displaying both the backend and designer version information to users.
Bug Fixes
- Corrected an error related to clipboard access in the 'Instance Info' section.
- The backend now filters events to ensure that Workflow Designer receive only pertinent data. Unknown events are currently ignored.
Workflow Engine 12.5.1
Designer
- Added the ability to drag and resize windows on touch screens.