Skip to content

Workflow Engine 20.0.0

Choose a tag to compare

@optimajet optimajet released this 30 Oct 17:21
· 4 commits to master since this release

Form Plugin

Introducing the Form Plugin — a solution that provides a ready-to-use API and UI to connect Workflow Engine with the Form Engine. It lets you render and submit workflow-bound forms, validate and persist data, and execute available process commands. Learn more in the Forms documentation.

Core

  • Several features are marked as Obsolete and will be removed in the next major release. The general list includes:
    • Schema defining parameters for schema generation
    • Some timer-management methods
    • Schema objects creation methods bypassing builders
    • Assignment Plugin
    • Telegram Plugin
    • Slack Plugin
    • Nexmo Plugin
    • Twilio Plugin
  • Optimized the WorkflowRuntime.ExecuteCommandAsync method.
  • Fixed a bug in BasicPlugin where an exception was thrown during pre-execution in the IsApproveComplete condition.
  • Added support for System.Text.Json.JsonElement in DynamicParameter.
  • Added the ConnectionString property to IPersistenceProvider.
  • [Breaking changes] The MongoDB provider now requires a ConnectionString during initialization.

Designer

  • [Breaking changes] Updated Vue from 2.6.14 to 3.5.22 to address vulnerabilities. If you use custom Vue templates, you must update them to work with Vue 3 version. See the migration guide for details.

Web API

  • Added a new workflow-api.designer operation — a ready-to-use endpoint for Workflow Designer.
  • Added support for registering external WorkflowRuntime instances as tenants via AddWorkfowTenantProvider.
  • Fixed an issue where DisableSecurity behaved incorrectly.
  • Fixed an issue where single-tenant mode did not work without an explicit TenantId.
  • Improved documentation and added an OpenAPI specification for all endpoints.
  • [Breaking changes] Removed UseWorkflowApi. Use UseRouting and MapWorkflowApi to register endpoints.
  • [Breaking changes] Removed AddWorkflowApi. Use AddWorkflowApiCore, AddWorkflowApiSecurity, and AddWorkflowRuntime to register services.
  • [Breaking changes] Renamed several methods and types:
    • OptimaJet.Workflow.Api.Extensions:
      • AddWorkflowEngineRuntimeAddWorkflowRuntime
      • AddWorkflowEngineRuntimeTenantsAddWorkflowTenants
      • GetHttpContextTenantIdGetHttpContextWorkflowTenantId
      • GetHttpContextTenantGetHttpContextWorkflowTenant
    • OptimaJet.Workflow.Api:
      • OperationIdWorkflowApiOperationId
      • IWorkflowApiTenantRegistryIWorkflowTenantRegistry
      • IWorkflowApiTenantIWorkflowTenant
        • RuntimeWorkflowRuntime
      • WorkflowApiTenantWorkflowTenant
        • RuntimeWorkflowRuntime
    • OptimaJet.Workflow.Api.Options:
      • WorkflowApiDataProviderOptionsDataProviderCreationOptions
      • RuntimeCreationOptionsWorkflowRuntimeCreationOptions
      • WorkflowEngineTenantCreationOptionsWorkflowTenantCreationOptions
        • DataProviderIdPersistenceProviderId
        • RuntimeCreationOptionsWorkflowRuntimeCreationOptions
        • WorkflowApiDataProviderOptionsDataProviderCreationOptions