## Overview Workflow Engine 19.0.0 introduces RPC API in Workflow Engine Web API for remote operations on `Workflow Engine` processes as entities (instances, commands, parameters, states, history, subprocess trees), scheme operations, and runtime control in single-tenant and multi-tenant deployments. The release also updates Web API tenant setup behavior. ### Why update - Manage `Workflow Engine` processes as entities through Workflow Engine Web API RPC: create/delete instances, execute commands, work with parameters, history, states, activities, and subprocess trees. - Use RPC operations for scheme lifecycle and runtime control: get schemes, mark schemes obsolete, update obsolete schemes, start/stop runtime, and monitor runtime status. - Use the updated Web API multitenancy registration flow. ## Key features - Introduced RPC API in Workflow Engine Web API with process-centric and bulk operations (`Instance`, `Commands`, `State`, `Scheme`, `Runtime`, `Pre-Execution`, `Bulk`, and logging groups) for single-tenant and multi-tenant mode. ## Changelog ### Update instructions - Update Workflow Engine packages to **19.0.0**. - If you use Workflow Engine Web API: - Update Web API packages to **19.0.0**. - In startup, register at least one tenant with `AddWorkflowEngineRuntimeTenants`, or configure single-tenant mode with `AddWorkflowEngineRuntime` or `AddWorkflowApi`. - Move data component settings into `WorkflowApiDataProviderOptions` inside `WorkflowEngineTenantCreationOptions`. - Rename `WorkflowApiSetupOptions` to `WorkflowApiOptionsSetup` in custom configuration code. - If you do not use Workflow Engine Web API, no additional migration steps are required in this release. ### Features - Introduced RPC API in Workflow Engine Web API to remotely manage `Workflow Engine` processes as entities, schemes, and runtime instances in single-tenant and multi-tenant mode. ### Enhancements - Added database-type unique identifiers to `IPersistenceProvider`. ### Resources - Web API documentation: [Workflow Engine Web API](https://workflowengine.io/documentation/web-api/). - Repository: [WorkflowEngineApi.NET](https://github.com/optimajet/WorkflowEngineApi.NET).