Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to switch to Camunda Cloud after accidentally starting with Camunda Platform #2283

Open
falko opened this issue May 21, 2021 · 3 comments
Labels
backlog Queued in backlog Camunda 8 Flags an issue as related to Camunda 8 enhancement New feature or request ux

Comments

@falko
Copy link
Member

falko commented May 21, 2021

Is your feature request related to a problem? Please describe.

During a customer demo, I already had some (Camunda Cloud) BPMN files open used the '+' button to quickly create another model for a fast sketch. As we continued the discussion, we needed technical attributes and noticed only after a while that the model was using Camunda Platform.

Describe the solution you'd like

I can easily switch the target platform. I don't need technical attributes to be converted. They should actually stay in the model to allow execution in both engines.

Alternative solutions:

  • The '+' button asks for the target platform or creates the same diagram type as the one currently open. See Quick "New Tab" should offer more file types  #2093
  • I can copy & paste between Camunda Platform BPMN and Camunda Cloud BPMN (with or without keeping platform-specific extension attributes and elements)
  • I can configure Camunda Modeler to default to creating Camunda Cloud BPMN models
  • I can configure Camunda Modeler to only support Camunda Cloud BPMN models, i.e. disable Camunda Platform features completely aka "Zeebe Modeler Mode" (should not disable DMN as that is already usable through community DMN worker)

Describe alternatives you've considered

I tried to quickly create a new Camunda Cloud model, but copy & paste between the models did not work. See #2124

I could have started editing the XML by hand, but that would have looked really unprofessional and potentially even scary to the prospect.

My sed script that I sometimes use to "convert" existing Zeebe Modeler files, is also far from presentable and requires completely closing and opening the model again as described in #2279

sed -i 's#xmlns:camunda="http://camunda.org/schema/1.0/bpmn"#xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:modeler="http://camunda.org/schema/modeler/1.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="1.0.0"#g' *.bpmn

The above sed script even failed, because there where already Camunda Platform attributes in the header: modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0"

So back to XML editing... (yes, I could improve my sed script, but that's still difficult to sell to prospects)

Additional context

Execution Platform: Camunda Cloud
Tested in Camunda Modeler 4.9-nightly.20210520 on Kubuntu 20.04.2 LTS

@nikku
Copy link
Member

nikku commented May 25, 2021

Interesting question. I'm fairly sure more people will stumble upon this during the transition phase. Ping @andreasgeier.

@nikku nikku added the Camunda 8 Flags an issue as related to Camunda 8 label May 25, 2021
@ingorichtsmeier
Copy link

I know that it is possible to model BPMN processes that run on more than one engine.

I did it a long time ago for Camunda and jBPM by adding both namespaces in the XML and edit the jBPM attributes manually in the XML.

If the modeler can take care about the namespaces and switch between the engine-views, it would be a smooth migration from Camunda Platform to Camunda Clould (and back...)

On top, you can conside to delete a namespace (or however you name it), to get rid of the old attributes after the migration is done.

@nikku nikku mentioned this issue Jun 1, 2021
@nikku
Copy link
Member

nikku commented Jun 1, 2021

We will remove the + button temporarily to prevent all confusion around execution platform pinning (#2293). This should prevent accidental opens of BPMN diagrams with the wrong execution platform.

At the same time we explore ways to make setting the execution platform more dynamic. In the future you may be able to set it at a later point in time, after you sketched your diagram in a execution agnostic manner.

Migration (cf. #2283 (comment)) is another use case that we did not explicitly dive into at this point. I can see many options to support users here. However, as it stands you'll need to decide how you want to view a BPMN diagram, as a Camunda Cloud or Camunda Platform diagram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog Camunda 8 Flags an issue as related to Camunda 8 enhancement New feature or request ux
Projects
None yet
Development

No branches or pull requests

3 participants