Skip to content

fix(bpmn): resolve all bpmnlint errors in quick-start and solutions#97

Open
HanselIdes wants to merge 2 commits intomainfrom
fix/bpmnlint-quick-start-solutions
Open

fix(bpmn): resolve all bpmnlint errors in quick-start and solutions#97
HanselIdes wants to merge 2 commits intomainfrom
fix/bpmnlint-quick-start-solutions

Conversation

@HanselIdes
Copy link
Copy Markdown
Contributor

@HanselIdes HanselIdes commented Apr 14, 2026

Summary

  • Fixes all bpmnlint errors and warnings across quick-start/ and solutions/ BPMN files
  • Adds a lint npm script to package.json that excludes test/target build artifacts from scanning
  • One warning intentionally left in place: Event_1hlbn3w in car-rental-booking-process is a compensation boundary event — it has no outgoing sequence flow by design, making the no-implicit-end report a false positive

Changes by category

no-bpmndi (missing diagram elements)
Added BPMNShape and BPMNEdge for TextAnnotation + Association elements in:

  • quick-start/api-orchestration
  • quick-start/microservice-orchestration
  • quick-start/human-task-orchestration

zeebe:FormDefinition missing

  • quick-start/human-task-orchestration: added zeebe:formDefinition to prepare-chicken and prepare-salad user tasks; added corresponding .form files
  • quick-start/task-listeners: added zeebe:formDefinition to the auto-assigned user task

zeebe:UserTask missing

  • solutions/ai-intelligent-routing: added <zeebe:userTask /> to all 5 user tasks (required for Camunda 8.8)

fake-join (multiple flows into a non-gateway element)

  • solutions/bank-ai-loan-approval: inserted joining ExclusiveGateway before Event_1wd6fel; expanded subprocess bounds
  • solutions/ai-agent-chat-with-mcp: inserted joining ExclusiveGateway before Filesystem service task; expanded AI_Agent subprocess to contain Event_Sub_Process

global (duplicate element names / unused elements)

  • solutions/bank-ai-loan-approval: merged 3 duplicate escalation definitions and 2 duplicate error definitions down to one each; removed unused duplicate definitions
  • solutions/capital-market-exception-processing: removed unused signal Signal_3smleom
  • solutions/telco-service-order-fulfillment-retail: removed unused signal Signal_0m4udet

no-implicit-end

  • solutions/bank-ai-loan-approval: converted Event_1jfz6dk from intermediateThrowEvent to endEvent

no-overlapping-elements

  • solutions/rpa-orchestration-uipath: moved Event_1fr1ftj 27px left to clear overlap with Gateway_join_before_ebg

Test plan

  • npm run lint passes with 0 errors and 1 justified warning (car-rental compensation boundary)
  • Open each modified BPMN in Camunda Modeler and verify diagram renders correctly

🤖 Generated with Claude Code

HanselIdes and others added 2 commits April 14, 2026 14:51
Fixes 21 errors across 9 BPMN files:

- no-bpmndi: add missing BPMNShape/BPMNEdge diagram entries for
  TextAnnotation and Association intro elements in Azure AI, HuggingFace,
  CI-CD, Error Handling, Event Registration, Expense Reimbursement,
  Ticket Booking, RPA Orchestration, and AI Email Support Agent
- label-required: add names to unnamed boundary/start/end events in
  CI-CD (fileNotFoundBoundaryEvent), Error Handling (subprocess
  start/end), and RPA Orchestration (compensation boundary event)
- no-gateway-join-fork: split Gateway_1j8nunf in RPA Orchestration into
  a joining ExclusiveGateway upstream of the EventBasedGateway fork
- Remove unused Error_11kp03o from Ticket Booking and Message_0fr5ip9
  from AI Email Support Agent

Also adds a PostToolUse hook to .claude/settings.local.json that runs
bpmnlint automatically after any .bpmn file is written or edited.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ions

- Add lint script to package.json excluding test/target build artifacts
- Add missing BPMNShape/BPMNEdge for TextAnnotation elements in quick-start
  API orchestration, microservice orchestration, and human-task tutorials
- Add zeebe:FormDefinition to prepare-chicken and prepare-salad user tasks;
  add corresponding form files
- Add zeebe:FormDefinition to task-listeners Auto_assigned user task
- Add missing zeebe:UserTask extension to 5 user tasks in HuggingFace routing
- Fix bank-ai-loan-approval: merge duplicate escalation/error definitions,
  insert joining gateway for fake-join on Event_1wd6fel, convert implicit-end
  intermediateThrowEvent to endEvent, expand subprocess bounds
- Fix rpa-orchestration overlap by moving Event_1fr1ftj clear of gateway
- Fix ai-agent-chat-with-mcp: insert joining gateway for Filesystem fake-join,
  expand AI_Agent subprocess to contain Event_Sub_Process
- Remove unused signals from capital-market and telco solutions

One warning intentionally remains: Event_1hlbn3w in car-rental is a
compensation boundary event with no outgoing sequence flow by design.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@HanselIdes HanselIdes force-pushed the fix/bpmnlint-quick-start-solutions branch from ab1ef4f to 692a1ed Compare April 14, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant