## Overview Workflow Engine 16.0.0 introduces BPMN plugin support, adds parameter mapping in `Inline Activity` settings for Scheme inlining, and removes the legacy BPMN import/export path. ### Why update - If your workflows depend on BPMN, this release enables the supported BPMN plugin path for import and Designer BPMN elements. - Use `Inline Activity` input/output parameter mapping to pass values between the parent scheme and the inlined scheme. - Get security fixes included in updated Designer and sample dependencies. - Get better Designer stability and package compatibility. ## Key features - Added BPMN plugin support for importing BPMN diagrams and using BPMN elements in Designer. - Added parameter mapping in `Inline Activity` with UI support for selecting mapped parameters. - Removed legacy BPMN import/export functionality. - Improved Designer and sample stability. ## Changelog ### Update instructions - Update all Workflow Engine packages to **16.0.0**. - Legacy BPMN import/export is removed in this release. Migrate BPMN integrations to `OptimaJet.Workflow.BpmnPlugin`. ### Features - Added BPMN plugin integration path (`OptimaJet.Workflow.BpmnPlugin`) for Runtime. - Added BPMN elements and `Upload BPMN` import flow in Designer when the plugin is connected. - Added import diagnostics (import log and element comments) for unsupported and partially supported BPMN elements. - Added `Inline Activity` parameter mapping for bulk setup before and after inlined scheme execution. ### Enhancements - Removed the erroneous ability to create a transition to a comment. - Updated Designer dependencies: `rollup` to `1.15.4`, `cookie` to `0.7.1`, `socket.io` to `4.8.0`, `express` to `4.21.1`. ### Bug fixes - Fixed sample startup issue caused by missing `Microsoft.Data.SqlClient.SNI.x64.dll`. - Fixed regex substitution hang during inlined parameter processing. - Fixed error when double-clicking inlined activity in Process View mode. ### Resources - BPMN documentation: [BPMN and Native Schemes](https://docs.workflowengine.io/plugins/bpmn-plugin/bpmn-and-native-schemes/). - BPMN plugin setup and usage: [BPMN Plugin Overview](https://docs.workflowengine.io/plugins/bpmn-plugin/overview/). - BPMN elements support matrix: [Supported Elements](https://docs.workflowengine.io/plugins/bpmn-plugin/supported-elements/). - Inline Activity parameter mapping: [Scheme inlining - Parameters mapping](https://workflowengine.io/documentation/execution/scheme-inlining/#parameters-mapping). ### Security - In Designer and Designer-NPM samples, `cookie` was updated from `0.6.0` to `0.7.1`, addressing [CVE-2024-47764](https://nvd.nist.gov/vuln/detail/CVE-2024-47764) ([GHSA-pxg6-pf52-xh8x](https://github.com/advisories/GHSA-pxg6-pf52-xh8x)); affected range includes versions `<0.7.0`, fixed in `0.7.0`. - In Designer and Designer-NPM samples, `express` was updated from `4.19.2` to `4.21.1` (and from `4.21.0` to `4.21.1` in Angular sample), including the fix for [CVE-2024-43796](https://nvd.nist.gov/vuln/detail/CVE-2024-43796) ([GHSA-qw6h-vgh9-j6wx](https://github.com/advisories/GHSA-qw6h-vgh9-j6wx)); affected range includes versions `<4.20.0`, fixed in `4.20.0`.