Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Business Automation ToolsNew to Visual Studio Code? Get it now.
Business Automation Tools

Business Automation Tools

devjpcb

|
2,853 installs
| (1) | Free
Create and edit BPMN, DMN, CMMN, FORM diagrams in VS Code using bpmn.io tools.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Business Automation Tools

Business Automation Tools

Version 1.7.0 MIT License VS Code ^1.109.0 Build Copilot and MCP Powered

🌐 Languages · English · Español · Português · Français · Deutsch · Italiano · 中文 · 日本語 · 한국어 · Русский

Create and edit BPMN, DMN, CMMN, and FORM diagrams directly in VS Code using the powerful bpmn.io toolkit. Whether you're modeling business processes, decision tables, case plans, or data capture forms, this extension provides a seamless visual editing experience — all within your editor.

  • Repository: gitlab.com/devjpcb/business-automation-tools
  • License: MIT
  • Published by: devjpcb

Features

Editor Overview

Editor File Patterns Key Features
BPMN *.bpmn, *.bpmn2, *.bpmn20.xml Properties panel, Color picker, Token simulator, Camunda Cloud / Platform extensions
DMN *.dmn Three views (DRD, Decision Table, Literal Expression), Auto-migration, Properties panel
CMMN *.cmmn Properties panel, Case plan modeling
FORM *.form, *.form.json Visual form builder, JSON schema export

BPMN Editor

Full-featured business process modeling editor powered by bpmn-js. Supports the complete BPMN 2.0 specification.

Feature Description Default
Properties Panel Edit element properties (ID, name, documentation, etc.) Disabled
Color Picker Change the fill and stroke color of diagram elements Disabled
Token Simulator Simulate and validate process flows visually Disabled
Camunda Cloud (Zeebe) Extension properties for Camunda 8 / Zeebe deployments —
Camunda Platform Extension properties for Camunda 7 Platform —
Toolbar Auto-hide dock-style toolbar with one-click SVG export Always on

DMN Editor

Powerful decision modeling editor powered by dmn-js. Supports DMN 1.3 diagrams with three interactive views:

  • DRD (Decision Requirements Diagram) — Visual decision graph
  • Decision Table — Rule-based decision logic
  • Literal Expression — Expression-based decisions
Feature Description Default
Properties Panel Edit decision and element properties Disabled
Auto-migration Diagrams are automatically migrated to DMN 1.3 on open Always on
SVG Export Export the DRD view as SVG (via toolbar or command) Always on
Toolbar Auto-hide dock-style toolbar with one-click SVG export Always on

Note: SVG export is available only from the DRD view.

CMMN Editor

Case management modeling editor powered by cmmn-js. Supports the CMMN 1.1 specification.

Feature Description Default
Properties Panel Edit plan item and element properties Disabled
Toolbar Auto-hide dock-style toolbar with one-click SVG export Always on

FORM Editor

Visual form builder powered by form-js. Create and edit JSON-based data capture forms.

Feature Description
Visual Editor Drag-and-drop form builder with live preview
JSON Schema Forms are saved as structured JSON with pretty-print formatting

Shared Features

  • Auto-save: All editors automatically persist changes via commandStack.changed events
  • Unified SVG Export: Export any BPMN, DMN, or CMMN diagram as SVG via the Command Palette (Ctrl+Shift+P → Business Automation Tools: Export Diagram as SVG) or the dock-style toolbar
  • Dock-style Toolbar: A sleek, auto-hiding toolbar sits at the bottom of every BPMN, DMN, and CMMN editor — hover to reveal, click to export
  • Content Security Policy: All webviews enforce a strict CSP with nonce-based script loading

AI-Powered Diagram Generation

Generate and modify diagrams using natural language. The extension supports two integration modes:

  • GitHub Copilot in VS Code via native chat participants and language model tools
  • MCP clients such as Codex, Claude Code, Cline, and Continue using the same structured diagram tools over Model Context Protocol

Chat Participants

Participant Purpose Example
@diagrams General — auto-detects BPMN, DMN, CMMN, or FORM from your prompt @diagrams create a BPMN process for order approval
@bpmn BPMN-specific — always generates BPMN 2.0 process diagrams @bpmn create a purchase approval workflow with 3 tasks
@dmn DMN-specific — always generates DMN decision tables/DRD @dmn create a discount decision table by customer tier
@cmmn CMMN-specific — always generates CMMN case plans @cmmn create a customer complaint case plan
@form FORM-specific — always generates form-js JSON definitions @form create a contact form with name, email and message

How to Use

Method How It Works Example
Chat participant Type any @ participant in Copilot Chat followed by your description @bpmn create a leave approval flow with a manager review
File attachment Drag & drop a .bpmn/.dmn/.cmmn/.form file into chat and describe changes, or use #file:path @bpmn add a validation gateway after the review task #file:order.bpmn
Active editor Open a diagram in the editor, then use any participant to modify it Open decision.dmn → @dmn add a second input for credit score

Tip: Use the specialized participants (@bpmn, @dmn, @cmmn, @form) when you know the diagram type you want. Use @diagrams when you want the AI to infer the type from your description.

Supported Diagram Types

  • BPMN — Business processes with tasks, gateways, events, and flows
  • DMN — Decision tables and decision requirements diagrams (DRD)
  • CMMN — Case management plans with stages, tasks, and milestones
  • FORM — Data capture forms with text fields, selects, checkboxes, and more

Tip: When modifying an existing diagram, the AI preserves all existing elements and only adds what you request. The complete file is updated automatically.

MCP Support

The extension bundles a local stdio MCP server so external coding agents can create and edit BPMN, DMN, CMMN, and FORM artifacts using the same structured toolset used internally by Copilot.

Supported MCP clients:

  • Codex
  • Claude Code
  • Cline
  • Continue (Agent mode)

How it works:

  1. Open the project in VS Code.
  2. Run Business Automation Tools: Configure MCP Clients from the Command Palette.
  3. Choose which project configuration files to write.
  4. The extension copies a stable MCP runtime into its storage area and generates project-scoped configuration for:
    • ./.codex/config.toml
    • ./.mcp.json
    • ./.continue/mcpServers/business-automation-tools.json
  5. For Cline, the extension copies the MCP JSON snippet to your clipboard so you can paste it into Configure MCP Servers.

Behavior notes:

  • Copilot continues to use the native VS Code API. MCP is an additional integration layer for non-Copilot assistants.
  • @diagrams, @bpmn, @dmn, @cmmn, and @form are Copilot Chat participants only. Codex, Claude Code, Cline, and Continue access the extension through MCP tools instead.
  • Generated MCP configs use node as the default launcher command. Override it with businessAutomationTools.mcp.nodeCommand if your client environment needs a different Node executable.
  • Generated or modified files are written inside the current workspace and respect businessAutomationTools.ai.defaultOutputDir.
  • MCP sessions expire after 10 minutes of inactivity.
  • MCP saves do not open files automatically by default. The server returns the saved file path, and BAT_OPEN_AFTER_SAVE = "never" is the recommended setting for MCP clients.
  • MCP diagnostics are written to a dedicated log file that you can open with Business Automation Tools: Show MCP Logs.

Available MCP tools include:

  • BPMN: bpmn_build_diagram, bpmn_create_diagram, bpmn_add_*, bpmn_load_diagram, bpmn_finalize_diagram
  • DMN: dmn_build_diagram, dmn_create_diagram, dmn_add_*, dmn_set_decision_table, dmn_add_requirement, dmn_load_diagram, dmn_finalize_diagram
  • CMMN: cmmn_build_diagram, cmmn_create_diagram, cmmn_add_plan_item, cmmn_add_dependency, cmmn_load_diagram, cmmn_finalize_diagram
  • FORM: form_build_definition, form_create_definition, form_add_component, form_edit_component, form_remove_component, form_load_definition, form_finalize_definition

How to Prompt MCP Clients

When working in Codex, Continue, or Cline, write plain-language requests in the chat. Do not use @diagrams, @bpmn, @dmn, @cmmn, or @form there. The agent decides when to call MCP tools such as bpmn_build_diagram, dmn_build_diagram, cmmn_build_diagram, or form_build_definition.

Prompting tips:

  • Start by naming the artifact type you want: BPMN, DMN, CMMN, or FORM.
  • Say whether the agent should create a new file or modify an existing one.
  • Describe the business domain and the main elements you need, such as tasks, gateways, rules, fields, or stages.
  • When modifying an existing artifact, mention the file name or path explicitly.
  • For DMN, include inputs, outputs, rules, and hit policy when they matter. For FORM, mention fields, options, groups, and validation details.

Behavior note:

  • MCP clients do not expose special magic commands for this extension. You can describe the outcome you want in natural language, and the agent will use the Business Automation Tools MCP server when it decides the tools are appropriate.

Example prompts:

  • Create a BPMN process for employee onboarding with HR review, IT setup, and manager approval.
  • Modify order-approval.bpmn to add a validation gateway after the finance review and route rejected requests back to the requester.
  • Create a DMN decision table for loan approval using credit score and monthly income, with outputs for approval status and risk level.
  • Create a CMMN case plan for customer complaints with an intake task, an investigation stage, and a resolution milestone.
  • Create a FORM definition for student registration with full name, email, program, enrollment date, and a submit button.
  • Modify forms/student-registration.form.json to add a checkbox for scholarship applicant and a select field for campus location.

Screenshots

BPMN Editor DMN Editor
BPMN Editor DMN Editor
CMMN Editor FORM Editor
CMMN Editor FORM Editor
Extension Settings
Extension Settings

Extension Settings

All settings are under the businessAutomationTools namespace. Configure them via File → Preferences → Settings or the settings.json file.

Setting Type Default Description
businessAutomationTools.bpmn.enablePropertiesPanel boolean false Enable / Disable BPMN Properties Panel
businessAutomationTools.bpmn.enableColorPicker boolean false Enable / Disable BPMN Color Picker
businessAutomationTools.bpmn.enableTokenSimulator boolean false Enable / Disable BPMN Token Simulator
businessAutomationTools.bpmn.extensionProperties enum "none" BPMN extension properties: none, cloud (Camunda 8/Zeebe), or platform (Camunda 7)
businessAutomationTools.dmn.enablePropertiesPanel boolean false Enable / Disable DMN Properties Panel
businessAutomationTools.cmmn.enablePropertiesPanel boolean false Enable / Disable CMMN Properties Panel
businessAutomationTools.ai.defaultOutputDir string "" Default directory for AI-generated diagram files (relative to workspace root)
businessAutomationTools.mcp.nodeCommand string "node" Command used to launch the MCP server for Codex, Claude Code, Cline, and Continue

Commands

Command ID Title How to Run
business-automation-tools.exportSvg Business Automation Tools: Export Diagram as SVG Ctrl+Shift+P → type command name
business-automation-tools.showBpmnLogs Business Automation Tools: Show Diagnostic Logs Ctrl+Shift+P → type command name
business-automation-tools.configureMcpClients Business Automation Tools: Configure MCP Clients Ctrl+Shift+P → type command name
business-automation-tools.showMcpLogs Business Automation Tools: Show MCP Logs Ctrl+Shift+P → type command name

Tip: You can also export SVG by clicking the Export SVG button in the auto-hide toolbar at the bottom of any BPMN, DMN, or CMMN editor.

Building from Source

If you'd like to build and package the extension yourself:

# 1. Clone the repository
git clone https://gitlab.com/devjpcb/business-automation-tools.git
cd business-automation-tools

# 2. Install dependencies
npm install

# 3. Build webview bundles (BPMN, DMN, CMMN, FORM)
npm run precompile

# 4. Compile TypeScript
npm run compile

# 5. (Optional) Package into a .vsix file
npm run build

The bundled .vsix file can be installed via Extensions → ... → Install from VSIX.

Development Workflow

Command Description
npm run compile Compile TypeScript source to out/
npm run precompile Build all four webview bundles (dist/*.bundle.js) via webpack
npm run watch Run precompile then tsc --watch for incremental compilation
npm run lint Lint TypeScript source files
npm run build Package extension as .vsix using vsce

Note: After modifying any src_js/*.js file or webpack configuration, you must re-run npm run precompile.

Release Notes

Current Release — [1.7.0]

  • AI-Powered Diagram Generation: Generate and modify BPMN, DMN, CMMN, and FORM diagrams using natural language via GitHub Copilot
  • MCP Integration: Use the same structured diagram tools from Codex, Claude Code, Cline, and Continue
  • New @diagrams chat participant for interactive diagram creation and editing
  • Four Copilot tools for automatic diagram generation from any chat
  • New VS Code commands to configure MCP clients and inspect MCP logs
  • File attachment support: drag & drop diagram files into chat for modifications
  • New setting: businessAutomationTools.ai.defaultOutputDir
  • Documentation updated in 10 languages
Click to expand full changelog

[1.6.4]

  • Maintenance release with dependency updates.

[1.6.3] - 2026-05-16

  • Updates to the latest version of bpmn.io

[1.6.2] - 2026-04-04

  • Updates to the latest version of bpmn.io

[1.6.1] - 2026-02-22

  • Updates to the latest version of bpmn.io

[1.6.0] - 2025-12-20

  • Unified Export Diagram as SVG command for BPMN, DMN, and CMMN editors.
  • Dock-style auto-hide toolbar in BPMN, DMN, and CMMN editors with one-click SVG export.

[1.5.9] - 2025-12-13

  • Updates to the latest version of bpmn.io

[1.5.8] - 2025-05-14

  • Updates to the latest version of bpmn.io

[1.5.7] - 2025-02-19

  • Updates to the latest version of bpmn.io

[1.5.6] - 2024-11-27

  • Updates to the latest version of bpmn.io

[1.5.5] - 2024-07-07

  • Updates to the latest version of bpmn.io

[1.5.4] - 2024-07-07

  • Updates to the latest version of bpmn.io

[1.5.3] - 2024-05-05

  • Updates to the latest version of bpmn.io

[1.5.2] - 2024-04-14

  • Updates to the latest version of bpmn.io

[1.5.1] - 2024-03-31

  • Updates to the latest version of bpmn.io

[1.5.0] - 2024-03-16

  • Create and edit FORM

[1.4.4] - 2024-03-02

  • Updates to the latest version of bpmn.io

[1.4.3] - 2024-02-25

  • Added support for Camunda properties in BPMN
  • Added support for Token Simulator
  • All modules are now disabled by default

[1.4.2] - 2024-02-20

  • Added settings to toggle the properties panel on/off
  • DMN diagrams are automatically migrated to DMN 1.3 on open

[1.4.1] - 2024-02-13

  • CMMN: Properties panel added

[1.4.0] - 2024-02-13

  • Updates to the latest version of bpmn.io
  • Project refactored

[1.3.0] - 2021-12-11

  • DMN: Properties panel added

[1.2.0] - 2021-12-11

  • BPMN: Properties panel and color picker added

[1.1.0] - 2021-12-08

  • Create and edit CMMN

[1.0.0] - 2021-12-04

  • Create and edit BPMN
  • Create and edit DMN

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft