question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The editor is able to distinguish Zeebe and Camunda diagrams

See original GitHub issue

What should we do?

In order to have a unified modeler, we must find a robust way to tell apart Zeebe and Camunda diagrams. That mechanism SHALL be independent of whether an implementation property/namespace exists on the document.

  • Resources (BPMN, DMN, CMMN, Form) contain meta-data about the execution platform and version targeted (i.e. Camunda BPM, v7.15, Camunda Cloud, xxx, Zeebe, v0.21.0)
  • The meta-data is read from by the modeler to determine which editing controls to show
  • Old diagrams without profile meta-data continue to open and are categorized on a best effort basis (i.e. by examining the used implementation namespaces; we could assume that diagrams with the camunda namespace are likely targeting a current (or previous) version of Camunda BPM. 3️⃣
  • The profile meta-data is shown in the UI for a diagram
  • Users are able to set the profile explicitly via the Modeler UI. This helps in situations where 3️⃣ does not work and allows users to start modeling without choosing any profile in the first place.

Why should we do it?

This is a core capability needed for a unified Camunda / Zeebe modeler

Things to investigate

  • Is there any generic BPMN elements that we can use for storing version information? Or do we have to invent a new XML namespace + extension to do it?

Context child of https://github.com/bpmn-io/internal-docs/issues/216

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
pinussilvestruscommented, Jan 26, 2021

please keep in mind that detection via the namespace may not be enough

Yeah absolutely. I am just playing around with namespace detection due to the fallback scenario

Old diagrams without profile meta-data continue to open and are categorized on a best effort basis (i.e. by examining the used implementation namespaces; we could assume that diagrams with the camunda namespace are likely targeting a current (or previous) version of Camunda BPM. 3️⃣

0reactions
pinussilvestruscommented, Feb 16, 2021

Summary of my work on top of https://github.com/camunda/camunda-modeler/issues/2029#issuecomment-778059880

Pull Request https://github.com/camunda/camunda-modeler/pull/2099

  • Make sure we don’t load Camunda specific Deploy & Run on other tabs

https://github.com/camunda/camunda-modeler/compare/2029-distinguish-camunda-and-zeebe-diagrams...2029-cloud-bpmn-tab

  • add CloudBpmnTab, incoorporates camunda-bpmn-js CloudModeler
  • use camunda-bpmn-js PlatformModeler on existing BpmnTab
  • display Zeebe specific Deploy & Run on cloud-bpmn tabs
  • start on distinguishing mechanism for Zeebe diagrams (namespace fallback)
    • missing: check for executionPlatform

https://github.com/camunda/camunda-modeler/tree/2029-distinguish-camunda-and-zeebe-diagrams

  • Some small fixups to make the CloudBpmnTab running

Let’s sync with @barmac and do the handover once he’s back 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

About Modeler - Camunda Platform 8 Docs
The XML editor comes with its own history (undo or redo), search and replace functionality, and XML syntax highlighting. In this guide, we'll...
Read more >
Camunda Platform 8.1 Released - What's New
In this post, we will go into the highlights of this release including Web Modeler, Connectors, Zeebe, Operate, Optimize, and more.
Read more >
Camunda Modeler, bpmn.io and more! - YouTube
25:49 - What is the difference External Tasks and Connectors? 28:22 - Is there license restrictions using Zeebe ?
Read more >
Extending the Camunda Modeler for Fun and Profit ... - YouTube
Speaker: Nico Rehwald, Principal Software Engineer Camunda For Prerequisites (if you'd like to follow this video as a tutorial): ...
Read more >
Web-based tooling for BPMN, DMN, CMMN, and Forms ...
BPMN Viewer and Editor. Use bpmn-js to display BPMN 2.0 diagrams on your website. Embed it as a BPMN 2.0 web modeler into...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found