Workflow Engine by Optimajet, the embeddable workflow engine for .NET and C#. Approvals, state machines and long-running processes with a visual Workflow Designer, BPMN import and six databases.
Repo optimajet/WorkflowEngine.NET, read from GitHub 13 min ago. optimajet has not joined Take My Repo.
Workflow Engine 23.0.1 updates MySqlConnector to 2.6.2 to address a database password disclosure vulnerability affecting MySQL connections under specific TLS settings. It also keeps NuGet audit warnings visible without blocking repository builds, including builds of Workflow Engine Web API.
Workflow Engine upgrades MySqlConnector from 2.4.0 to 2.6.2, addressing GHSA-473q-m89c-ghf8. Versions before 2.6.1 can disclose a non-empty database password to a man-in-the-middle when SslMode is VerifyCA or VerifyFull and no CA certificate is configured through SslCa. The password can be sent before certificate verification rejects the connection. See the advisory for the full exposure conditions.
Workflow Engine repository builds keep NuGet audit enabled and report NU1900 through NU1905 as warnings even when TreatWarningsAsErrors is enabled. Newly published advisories no longer stop these builds solely because an audit warning is promoted to an error. Other warnings-as-errors policies remain in effect.
The NuGet audit policy applies to Workflow Engine repository builds. Applications consuming the packages retain their own build policies. Making audit warnings non-blocking does not remediate a vulnerable dependency; the MySqlConnector upgrade addresses this advisory.
Workflow Engine 23.0.1 includes the following dependency and build fixes.
NU1900 through NU1905 to WarningsNotAsErrors while keeping NuGet audit enabled and preserving other warnings-as-errors settings. This addresses the audit warning promotion that blocked the MySQL Web API build and, consequently, API reference generation.Which MySqlConnector version does Workflow Engine 23.0.1 use?
Workflow Engine 23.0.1 pins MySqlConnector 2.6.2. The advisory identifies 2.6.1 as the first patched version.
Which MySQL connections are affected by GHSA-473q-m89c-ghf8?
The advisory concerns MySqlConnector versions before 2.6.1 using VerifyCA or VerifyFull, no configured SslCa, and a non-empty password. A man-in-the-middle can capture the password before certificate verification fails.
Does Workflow Engine 23.0.1 disable NuGet vulnerability checks?
NuGet audit remains enabled in Workflow Engine repository builds. Audit findings remain visible as warnings, so developers must still review them and update affected dependencies.
Do the NuGet audit changes apply to applications using Workflow Engine packages?
The repository build settings do not configure a consuming application's warning policy. Review your application's resolved MySqlConnector version and its own NuGet audit configuration when upgrading.
Workflow Engine 23.0.0 adds Forms API, real-time tracking integration, and licensed API operation callbacks to Workflow Engine Web API. It also adds localized API responses and RPC lookups, an external expression compiler, and MongoDB Driver 3.x support. Review the update instructions for framework requirements and changes to existing integration contracts.
The Forms API seamlessly connects FormsPlugin to your Workflow Engine Web API host and provides a ready-to-use HTTP API. Load forms, save drafts, and execute workflow commands from HTTP clients using your existing runtime and tenant configuration. See Workflow Forms and the Workflow Forms sample.
Show live workflow progress in the Designer using your existing HTTP API host. The new integration supplies the SignalR hub and connects each subscription to the selected tenant's runtime. You can monitor several tenants and runtimes in one application without writing that integration yourself. Optional callbacks add application checks and logging around hub calls. See the Interactive Designer overview and the HTTP API sample.
Add application rules around an existing API operation. Inspect or change the operation's input, add authorization checks, adjust a successful response, or handle an exception while keeping the built-in operation handler. The API Configurator is a separately licensed option. If your update period is still active, contact sales to request a reissued license with ApiConfigurator enabled. See the HTTP API sample and the Workflow Forms sample.
Show translated workflow names without making a separate localization request for each displayed value. API responses now include localized values beside the original names, so a client can use translations for labels and keep technical names for commands and application logic. See Localization and the HTTP API sample's OpenAPI document.
Use names from a workflow scheme's translations in an HTTP client instead of keeping a second translation table in the frontend. The new RPC operations return localized state and command names using the request's current culture. See Localization and the HTTP API sample's OpenAPI document.
Choose how your application evaluates workflow expressions. A custom compiler can accept a limited expression language, reject operations your application does not permit, or delegate selected expressions to the built-in C# compiler. See Basic Plugin parameter expressions.
Use the MongoDB provider with applications that depend on MongoDB .NET Driver 3.x. Workflow Engine now uses Driver 3.12.0 and adapts its queries and BSON handling while preserving existing workflow GUIDs. This major upgrade also updates the MongoDB HTTP API integration. Review the MongoDB update instructions before upgrading. See the MongoDB provider implementation.
Use the sections that apply to your Workflow Engine installation. Steps for adopting a new optional feature are labeled separately from changes to existing integrations.
netstandard2.1 and net472, so its 23.0.0 package requires a compatible host regardless of the Core package's .NET Standard 2.0 target. See the MongoDB update instructions.MongoDBProvider.Store. Keep CSharpLegacy GUID handling for existing Workflow Engine IDs. Do not rewrite stored Workflow Engine UUIDs to Standard representation as part of this upgrade.GetWorkflowTenantId(HttpContext) using the supplied request or connection context. Do not substitute the ambient HTTP context for a SignalR connection.workflowApiTenantId. Send one tenant value, or matching header and query values. Tenant selection still requires the caller's existing tenant permissions.realTimeTrackingUrl to the mapped hub URL, including any custom BasePath. In multi-tenant applications, select the same tenant for Designer HTTP requests and the tracking connection.workflow-api.realtime-tracking operation permission and any required tenant access. For JWT browser connections, configure the host's OnMessageReceived handler to read access_token only for the tracking operation; the integration does not configure JWT handlers. See the sample host's authentication configuration.ConfigureWorkflowApi if no customization is needed. A license with ApiConfigurator is required when adding host callbacks.OptimaJet.Workflow.Api.RealTimeTrackingPlugin. For standalone hosts, register a notification sender and NotifierService, then map an application-owned hub. Obsolete warnings may already require changes in builds that treat warnings as errors. No database migration is required for this integration.formErrors. Convert structured error objects to display text before returning them.OptimaJet.Workflow.Api.Forms, register AddFormsPlugin(...), and configure a license with the Forms capability. Configure authentication, authorization, and CORS in the host application.ApiConfigurator enabled before starting an application that calls ConfigureWorkflowApi(...). The check runs when API configuration is built, before callbacks are applied or endpoints are mapped. Without this capability, configuration fails with InvalidOperationException; even an empty registration triggers the check.ConfigureWorkflowApi(...) and use the default configuration. Default Forms and Real-Time Tracking module registration does not require ApiConfigurator. Existing API and plugin license requirements still apply.InboxEntryModel.Major changes affect platform support, provider compatibility, or custom host implementations. Minor changes affect specific client contracts and legacy integration APIs.
netstandard2.0 target with netstandard2.1 and net472. Applications and libraries that depend on the provider must target a compatible framework.IWorkflowTenantLocator must now implement GetWorkflowTenantId(HttpContext). The interface supplies no default implementation.workflowApiTenantId now participates in tenant selection on all API requests. If the query parameter and Workflow-Api-Tenant-ID header are both present, their values must match exactly. Multiple values or conflicting sources are rejected; the default tenant applies only when both sources are absent. An explicit empty query value no longer falls back to that default.SaveFormResponse.formErrors and ExecuteFormResponse.formErrors now use Record<string, string> instead of Record<string, unknown>. Custom TypeScript adapters that return non-string field errors must be updated.InboxEntryModel changed from a positional record to an explicitly declared record. Existing compiled consumers and code that deconstructs these models may need changes. The HTTP response changes are additive.WorkflowEngine.NETCore-RealTimeTrackingPlugin is obsolete. The old AddRealTimeTracking and MapRealTimeTracking methods, built-in hub, and legacy integration constructors still work in 23.0.0 but will be removed in the next release. The core package will no longer provide this ASP.NET integration; use the HTTP API integration package or an application-owned hub and notification sender.Workflow Engine 23.0.0 includes the following product features, improvements, and fixes.
dotnet new install OptimaJet.Workflow.Api.Template, then dotnet new workflow-engine-web-api --name MyWorkflowApi.OptimaJet.Workflow.Api.Forms. Register it with AddFormsPlugin(...) before MapWorkflowApi() to expose Forms operations and configure the Forms Plugin in API-created runtimes./forms/get-form, /forms/get-executable-forms, /forms/save-form, and /forms/execute-form under the configured API base path.OptimaJet.Workflow.Api.RealTimeTrackingPlugin for .NET 8 and .NET 10. Register AddRealTimeTrackingPlugin() before MapWorkflowApi() to publish the tracking hub at /workflow-api/realtime-tracking with the default API base path.ConfigureOperation(api => api.RealTimeTracking.Hub) with OnBefore, OnAuthorize, OnAfterSuccess, OnAfter, and OnException callbacks. Callbacks cover hub method calls; they do not run for connections, outgoing notifications, or stream items.workflowApiTenantId query parameter for tenant selection on HTTP requests and tracking connections. Browser clients can select a tenant without a custom header.IRealTimeTrackingNotificationSender and IRealTimeTrackingTenantNotificationSender so applications can supply their own notification transport.ConfigureWorkflowApi(...), licensed through the ApiConfigurator capability, with typed ConfigureOperation(...) selectors and the OnBefore, OnAuthorize, OnAfterSuccess, OnAfter, and OnException callbacks.IExternalExpressionsCompiler and ExpressionsCompiler.ExternalCompiler to replace expression compilation independently of Code Actions.ExpressionsCompiler.DefaultCompiler for explicit delegation to the built-in C# compiler.CSharpLegacy GUID representation explicit when reading and writing workflow IDs.IDX_CALENDARNAME already exists in the current schema.Does the new Forms API require an API Configurator license?
Default Forms and Real-Time Tracking module registration does not require ApiConfigurator. Custom callbacks registered through ConfigureWorkflowApi(...) do require it; existing API and plugin license requirements still apply. See API Configurator licensing.
Can I continue using Workflow Engine on .NET Framework 4.6.2?
Most libraries still target .NET Standard 2.0, so applications on 4.6.2 may continue to work at your own risk, without testing or support. Individual packages can require a newer framework: the MongoDB provider now targets netstandard2.1 and net472. See packages and platform support.
Do I have to replace the old ASP.NET tracking integration immediately?
The obsolete integration still works in 23.0.0, but its methods, built-in hub, and legacy integration constructors will be removed in the next release. Migrate before that release; builds that treat obsolete warnings as errors may need changes now. See real-time tracking integration.
Workflow Engine 22.1.0 is a minor feature and maintenance release focused on actor expression support, Approval Plugin history storage options, published migration assets, stronger Workflow Engine Web API tenant isolation, and multiple Basic Plugin correctness fixes.
NullReferenceException during parameter checks and SetParameter execution.UseLocalizedNamesInApprovalHistory = false.MigrationVersion and Workflow Engine product version.UseLocalizedNamesInApprovalHistory = false. The default behavior remains unchanged.CheckParameter with NotEqual or NotIn as an implicit missing-parameter check, review those schemes. Starting in 22.1.0, missing or null parameters return false for all compare types.SetParameter to save an empty string, pass the explicit C# string literal \"\". Empty, missing, or null Value entries are now rejected instead of failing later with NullReferenceException.downloadschemebpmn command in internal documentation or custom integrations, remove those references. It is no longer documented as a supported Workflow Designer operation.UseLocalizedNamesInApprovalHistory = false.MigrationVersion and Workflow Engine product version.downloadschemebpmn mentions so current documentation reflects supported BPMN-related behavior.StartAndEndWith and NotStartAndEndWith so they evaluate both StartsWith(...) and EndsWith(...) instead of calling StartsWith(...) twice.CheckParameter so a missing or null parameter returns false for every compare type and no longer throws exceptions for string-based comparisons.CheckParameter for implicit persistent string parameters restored from persistence, so Equal and NotEqual compare the logical value after reload instead of the serialized JSON representation.SetParameter validation so empty, missing, or null Value entries produce a clear validation error instead of a runtime NullReferenceException.Activity Name and State fields that belong to activity editing./readiness so multi-tenant requests no longer expose readiness data for unauthorized tenants..NET 10 dependency alignment by correcting the Entity Framework Core package version used by OptimaJet.Workflow.SQLite.Workflow Engine 22.0.0 is a major feature release focused on dynamic Workflow Engine Web API tenant registration, full hybrid multi-tenancy for process data, schemes, Global Parameters, and forms, plus major platform updates for the Forms Plugin and Angular Designer packages.
null or empty tenant values where supported.RunMigrations() before starting the updated runtime. The bundled SQL migration scripts are executed automatically by the migration mechanism. This release adds tenant storage and tenant-aware queries for schemes, Global Parameters, process-related entities, and forms. See Database versioning.update_22.0.0.js update script against your MongoDB database before starting the updated runtime. The script adds the new indexes required for tenant-aware queries.AddWorkflowTenants(...) configuration remains supported, but tenant providers and registry read helpers were removed.IPersistenceProvider, IWorkflowTenant, IWorkflowTenantFactory, Forms Plugin workflow provider, or custom Web API authorization code, update those implementations before rebuilding.AssignmentPlugin, remove the package and replace the integration. The plugin is no longer supported in 22.0.0.@react-form-builder/* packages.Use the following sections for the cases that apply to your installation.
The old tenant registry HTTP helper methods were removed. Inject IWorkflowTenantLocator or use the public IServiceProvider extension methods.
Before:
public sealed class MyController { public MyController(IWorkflowTenantRegistry tenantRegistry) { _tenantRegistry = tenantRegistry; } public WorkflowRuntime GetRuntime() { return _tenantRegistry.GetHttpContextWorkflowRuntime(); } private readonly IWorkflowTenantRegistry _tenantRegistry; }
After, using IWorkflowTenantLocator:
public sealed class MyController { public MyController(IWorkflowTenantLocator tenantLocator) { _tenantLocator = tenantLocator; } public WorkflowRuntime GetRuntime() { return _tenantLocator.GetHttpContextWorkflowRuntime(); } private readonly IWorkflowTenantLocator _tenantLocator; }
Replace HTTP helper calls as follows:
tenantRegistry.GetHttpContextTenantId() -> tenantLocator.GetHttpContextWorkflowTenantId() or services.GetHttpContextWorkflowTenantId().tenantRegistry.GetHttpContextTenant() -> tenantLocator.GetHttpContextWorkflowTenant() or services.GetHttpContextWorkflowTenant().services.GetHttpContextWorkflowTenantSnapshot() when you need the request-scoped immutable tenant snapshot.If code previously read the registry directly outside an HTTP request, use IWorkflowTenantSnapshot.
public sealed class MyService { public MyService(IWorkflowTenantSnapshot tenantSnapshot) { var tenantId = "TenantA"; var tenant = tenantSnapshot.GetTenant(tenantId); var runtime = tenant.WorkflowRuntime; } }
AddWorkflowTenants(options), startup code usually does not need to change. The public signature remains available, and startup tenants are registered through the registry lifecycle.AddWorkflowTenantProvider(new ListWorkflowTenantProvider(...)), replace it with AddWorkflowTenants(...) for options-based startup registration, or register tenants after host startup through IWorkflowTenantRegistry.RegisterTenantsAsync(...).MapWorkflowApi() no longer requires a tenant provider during endpoint mapping. A multi-tenant host can start without the complete static tenant list and accept tenants later through the registry.Example dynamic tenant registration after host startup:
var tenantRegistry = services.GetRequiredService<IWorkflowTenantRegistry>(); var tenants = await tenantRegistry.RegisterTenantsAsync(new WorkflowTenantCreationOptions { TenantIds = ["TenantA"], PersistenceProviderId = PersistenceProviderId.Mssql, ConnectionString = connectionString }); var tenant = tenants.Single();
Example tenant removal:
await tenantRegistry.UnregisterTenantsAsync(tenant);
The registry removes the tenant from new snapshots immediately. For registry-owned tenants, WorkflowRuntime shutdown is delayed until older snapshots that still reference the tenant are released.
Custom IWorkflowTenant implementations must now implement the lifecycle contract:
WorkflowTenantLifecycleOwnership LifecycleOwnership.Task StartAsync().Task ShutdownAsync().WorkflowTenantLifecycleOwnership.Registry when the registry should start and stop the tenant runtime.WorkflowTenantLifecycleOwnership.External when your application keeps lifecycle ownership.The standard WorkflowTenant constructor now requires WorkflowTenantLifecycleOwnership. The IWorkflowTenantFactory.Create(IEnumerable<string>, WorkflowRuntime, DataProviderCreationOptions) overload also has a new optional lifecycleOwnership parameter, so custom IWorkflowTenantFactory implementations must update their signatures.
IWorkflowApiPermissions no longer authorizes the current HTTP request. Keep it for permission claim creation and validation through CreateBuilder(), BuildClaim(string), and BuildClaim(Action<...>).
IWorkflowApiPermissions.HttpContextHasAccess(...).AddWorkflowApiSecurity(...) and MapWorkflowApi(). Authorization now runs in the request pipeline using the scoped tenant snapshot.WorkflowApiConstants.SingleTenantId as a tenant permission target. It remains an empty string, but it is valid only in a single-tenant snapshot.Custom IPersistenceProvider implementations must update timer and process existence contracts:
RegisterTimerAsync to accept string tenantId before bool notOverrideIfExists.Task<bool> IsProcessExistsAsync(Guid processId, string tenantId).Before:
RegisterTimerAsync(processId, rootProcessId, name, nextExecutionDateTime, notOverrideIfExists)
After:
RegisterTimerAsync(processId, rootProcessId, name, nextExecutionDateTime, tenantId, notOverrideIfExists)
Custom IPersistenceProvider implementations must add tenant-scoped Global Parameter methods:
SaveTenantGlobalParameterAsync.LoadTenantGlobalParameterAsync.LoadTenantGlobalParametersWithNamesAsync.LoadTenantGlobalParametersAsync.LoadTenantGlobalParametersWithPagingAsync.DeleteTenantGlobalParametersAsync.If an external system previously managed Workflow Engine system Global Parameter types through the generic Global Parameters Data API, move it to specialized APIs or customize ProtectedGlobalParameterTypes. By default, direct generic get, create, update, and delete requests for protected types return 400; collection, search, and collection-delete operations hide or skip protected records.
Forms Plugin provider methods now receive an optional tenantId. Update custom workflow provider implementations and custom form handlers to pass or resolve tenant context consistently.
Forms lookup and mutation behavior is now scoped:
GetFormNamesAsync(tenantId): without tenantId, returns only shared forms where TenantId = null; with tenantId, returns distinct names from the tenant scope and shared scope.GetFormVersionsAsync(name, tenantId): without tenantId, returns only shared versions; with tenantId, returns tenant versions when the tenant has any rows for the form name, otherwise falls back to shared versions.GetFormAsync(name, version: null, tenantId): without tenantId, returns the latest shared version; with tenantId, searches tenant and shared scopes, sorts tenant forms above shared forms, then sorts by Version DESC.GetFormAsync(name, version, tenantId): without tenantId, searches only the exact shared version; with tenantId, returns the tenant exact version when present, does not fall back to shared if the tenant has any rows for that form name, and falls back to shared only when the tenant has no rows for that form name.CreateNewFormIfNotExistsAsync(name, defaultDefinition, tenantId): checks existence only in the exact target scope. A shared form does not count as an existing tenant form. If a tenant form is missing, tenant v0 is created from the latest shared form when available, otherwise from defaultDefinition. After a concurrent duplicate insert, the method rereads the exact target scope.CreateNewFormVersionAsync(name, defaultDefinition, version, tenantId): creates the new version only in the exact target scope. The next version number is calculated from the target scope; an empty target scope creates v0. Definition is copied from the target scope, or from shared scope only as bootstrap when tenant scope is empty. If the requested source version is not found in either allowed scope, the method returns null, and the provider-level wrapper throws an error.UpdateFormAsync(...): updates only the exact target scope and exact version with lock checks. Shared fallback is not used.DeleteFormVersionAsync(...): deletes only the exact version in the exact target scope. Shared fallback is not used.DeleteFormAsync(...): deletes all versions only in the exact target scope. Shared fallback is not used.FormsManager and FormsViewer now include tenantId. If FormsViewer requests are handled by external application code, you can either pass tenantId through those handlers or resolve it inside the handlers from your own request context. Passing it explicitly keeps behavior consistent with the rest of the Forms Plugin API.
IWorkflowTenantRegistry. The public tenant API now uses a dynamic registry and immutable request snapshots. IWorkflowTenantRegistry.Tenants was replaced with IWorkflowTenantSnapshot.Tenants, IWorkflowTenantRegistry.IsSingleTenant() was replaced with IWorkflowTenantSnapshot.IsSingleTenant, and IWorkflowTenantRegistry.Get(string id) was replaced with IWorkflowTenantSnapshot.GetTenant(string id).IWorkflowTenantRegistry. IWorkflowTenantRegistry.GetHttpContextTenantId(), GetHttpContextTenant(), and GetHttpContextWorkflowRuntime() were replaced with IWorkflowTenantLocator and public IServiceProvider extension methods.IWorkflowTenantProvider, ListWorkflowTenantProvider, and AddWorkflowTenantProvider(...) were removed. Tenants are no longer supplied through a provider collection in DI. Static startup configuration remains available through AddWorkflowRuntime(...) and AddWorkflowTenants(...); runtime registration after application startup is performed through IWorkflowTenantRegistry.RegisterTenantsAsync(...).IWorkflowTenant now has a lifecycle contract. All custom implementations must expose WorkflowTenantLifecycleOwnership LifecycleOwnership and implement Task StartAsync() and Task ShutdownAsync(). The standard WorkflowTenant constructor requires WorkflowTenantLifecycleOwnership, and custom IWorkflowTenantFactory implementations must update the Create(...) signature for the new optional lifecycleOwnership parameter.statuses, parameters, timers, transitions, inbox entries, approval history, and processes no longer allow cross-tenant reads or changes. Foreign-tenant GET requests now behave as not found; foreign-tenant update and delete requests are no-op or rejected depending on the endpoint.workflow-api.rpc.* now strictly check the process tenant against the current HTTP tenant ID. A process from another tenant cannot be read, changed, executed, deleted, checked, or otherwise manipulated through RPC by knowing its processId.null or empty tenant values are treated as shared records and can be visible to all tenants according to each API's fallback rules, but new records created in tenant context are written with tenant information.MapWorkflowApi() no longer validates or enumerates tenant provider state during endpoint mapping. Tenant composition is validated during registration and removal, not in the request pipeline.WorkflowApiConstants.SingleTenantId remains an empty string, but it is now explicitly valid only in a single-tenant snapshot and cannot be used in tenant permission targets.IWorkflowApiPermissions no longer authorizes the current HTTP request. HttpContextHasAccess(ClaimsPrincipal, string) was removed from the public interface. Workflow API authorization is performed inside the request pipeline with the scoped tenant snapshot.IPersistenceProvider.RegisterTimerAsync now requires string tenantId before bool notOverrideIfExists.IPersistenceProvider now requires Task<bool> IsProcessExistsAsync(Guid processId, string tenantId).Parameters and Timers now require the parent process to exist in the current tenant. create and create-collection no longer work when the process is missing or when processId belongs to a foreign tenant. This is a breaking change and also closes an unsafe cross-tenant behavior.processes search, collection read, single read, and update operations now work only in the current tenant. Cross-tenant process queries are no longer supported.tenantId was removed from ProcessUpdateRequest, so PUT /data/processes/{id} cannot move a process to another tenant.TenantId was removed from the process query contract. ProcessField.TenantId is no longer available, so clients cannot filter, sort, or search processes by TenantId through the current Data API contract.ProcessNotFoundException now map to 404 NotFound with the public message Process with id {id} not found. Earlier versions could allow some cross-tenant scenarios or return the real not-found case in another form, including 500.rpc/is-process-exists now returns false for a process in another tenant to hide whether the process exists.Failed with a Core exception in BulkTaskResult.Exception; rpc/bulk-is-process-exists is the exception and returns Completed with Result = false. Bulk API can still expose both ProcessNotFound and ProcessTenantMismatchException in item results.IPersistenceProvider implementations must add the tenant-scoped Global Parameter methods: SaveTenantGlobalParameterAsync, LoadTenantGlobalParameterAsync, LoadTenantGlobalParametersWithNamesAsync, LoadTenantGlobalParametersAsync, LoadTenantGlobalParametersWithPagingAsync, and DeleteTenantGlobalParametersAsync.get, create, update, and delete operations for protected types return 400; collection, search, and delete-collection operations hide or skip those records.CodeAction, WFE_CodeActionsSettings, WFE_MultiServerSettings, WFE_SingleServerSettings, Plugin, Security, settings, LoggerSettings, CallbackProvider, LDAPConf, OpenIddictServer, and CorsSettings.tenantId. Custom providers must update their method signatures and tenant-aware lookup, create, update, and delete behavior.Workflow Engine 21.1.3 is a maintenance release focused on dependency updates across .NET, Web API, documentation, Designer, and Forms Plugin frontend assets, plus fixes for the public Workflow Engine Web API sample build and the simple Web API application documentation.
dotnet tool restore before building so the Swagger CLI tool is available.Swashbuckle.AspNetCore with the Workflow Engine Web API packages.Microsoft.Bcl.AsyncInterfaces 10.0.5 -> 10.0.9, System.Runtime.Caching 10.0.5 -> 10.0.9, System.Text.Encodings.Web 10.0.5 -> 10.0.9, and System.Text.Json 10.0.5 -> 10.0.9.Microsoft.Data.Sqlite 9.0.15 -> 10.0.9 and Microsoft.EntityFrameworkCore.Sqlite.Core 9.0.15 -> 10.0.9.Microsoft.AspNetCore.OpenApi 10.0.7 -> 10.0.9, Microsoft.Extensions.Caching.Memory 10.0.5 -> 10.0.9, and System.Text.Json 10.0.5 -> 10.0.9.Microsoft.AspNetCore.Authentication.JwtBearer 8.0.6 -> 10.0.9, Microsoft.AspNetCore.Mvc.NewtonsoftJson 10.0.5 -> 10.0.9, Microsoft.EntityFrameworkCore 10.0.5 -> 10.0.9, Microsoft.EntityFrameworkCore.InMemory 10.0.5 -> 10.0.9, System.Text.Json 10.0.5 -> 10.0.9, and Swashbuckle.AspNetCore.SwaggerGen / Swashbuckle.AspNetCore.SwaggerUI 10.0.1 -> 10.2.3.swashbuckle.aspnetcore.cli tool configuration at version 10.0.1.21.1.2 to 21.1.3 for Core, Files Plugin, Migrator, and the MongoDB, MSSQL, MySQL, Oracle, and PostgreSQL providers.@docusaurus/core, @docusaurus/preset-classic, and @docusaurus/theme-mermaid ^3.7.0 -> ^3.10.1.21.1.3, refreshed Designer lockfiles, updated @angular/common 20.3.21 -> 20.3.25 in the strict Angular sample, and aligned @angular/build 20.3.26 -> 20.3.2 in the Angular package build tooling.react-router-dom ^7.3.0 -> ^7.18.0, @vitejs/plugin-react ^4.6.0 / ^4.7.0 -> ^6.0.3, vite ^7.0.5 / ^7.3.0 -> ^8.1.0, and lerna ^8.2.1 -> ^9.0.7.TreatWarningsAsErrors.Swashbuckle.AspNetCore package, adding the missing OptimaJet.Workflow.Core.Runtime import, clarifying license and connection string placeholders, and correcting the displayed sample Swagger UI URL.Workflow Engine 21.1.2 is a targeted hotfix release focused on relational database migration coverage for CalendarName, native ASP.NET Core OpenAPI generation in Workflow Engine Web API, and BPMN import stability in Workflow Designer.
WorkflowProcessInstance.CalendarName columns in upgraded relational databases so scheme updates continue to work correctly on older installations.AddOpenApi().Upload BPMN dialog so BPMN imports no longer fail with a client-side designer is not defined error.CalendarName column in existing WorkflowProcessInstance tables when needed.Upload BPMN flow.CalendarName column was originally introduced, run Workflow Engine migrations after upgrading so the missing WorkflowProcessInstance.CalendarName column is added.AddOpenApi(), update to 21.1.2 to avoid schema generation failures.Upload BPMN dialog behavior.CalendarName column.CalendarName column in WorkflowProcessInstance when upgrading databases that predate the original column addition.AddOpenApi(). Bulk RPC response models with nullable boolean results no longer trigger System.Text.Json.JsonException during schema export.Upload BPMN flow no longer references an undefined designer object on the client.