Can not get QuickStart´s Deployment to work

Hi,

when I try to deploy, like described in the Quickstart Tutorial, the Camunda Modeler gives me an unknown Error for all the different rest-engines urls I was able to find so far.

(Unfortunately I can only upload one screenshot due to being a new user)

I tried the docker version as well as the standalone version which is started by the shell script.

No difference so far.

Can you give me the currently working url or tell me what I am doing wrong? There also wasn’t any stack traces or the likes in the logs.

Thanks in advance and best regards

Kgard

Hi @kgard,

I think you have choosen the wrong process type.

From the screenshot it seems that you have modeled a process for Camunda Clound, which doesn’t work on Camunda Platform.

grafik

You have to choose the blue option when you create a new BPMN Diagram in the modeler.

Hope this helps, Ingo

Hi @Ingo_Richtsmeier,

first of all thank you for your quick reply.
But unfortunately I have to tell you that it doesn’t help me with my problem.

I am referring to this Quickstart Deploy the Process (3/6) | docs.camunda.org which tells me to do it with a cloud BPMN.

Also the Platform BPMNs are not deployed via REST at all but create a .bpmn file which is to your in correspondence with your embedded Camunda Plattform.

But I guess this is just not the way to go, as coworker informed me. I just got confused because the JEE docs reference this Quickstart too.

Never the less, this way it doesn’t seem to work.

Best Regards

kgard

Hi @kgard,

your screenshot from the first comment looks different then the one in the documentation.

Camunda Cloud and Camunda Platform are two different products and the technical attributes in the BPMN model have different namespaces. If you create a BPMN Diagram (Camunda Cloud), the modeler can only deploy it to Camunda Cloud. That’s the headline of your screenshot.

On the lower left side of the modeler you can check where your diagram is build for:
grafik

Hope this helps, Ingo

Hi Ingo,

unfortunately again, it does not. I don’t think you can, like in my screenshot, or the Quickstart documentation, even enter a REST Endpoint for a deployment if you choose a platform BPMN.

Also see Executing automated steps (2/6) | docs.camunda.org

The first screenshot tells you to use a cloud BPMN doesn’t it?

And yet again if try a platform BPMN I can not enter a REST endpoint like in:

https://docs.camunda.org/get-started/quick-start/deploy/

Can I? If do it the button only gives me a save dialog for a file not a Rest Endpoint.

The Quickstart seems inconsistent to me. Maybe older versions?

Best Regards and Thanks for your help so far.

It does seem that way, but if you look very closely at the bottom-left corner of the second screenshot in that page, it says “XML Camunda Platform ^ >”

That means that they want you to create a Camunda Platform BPMN.

The first image of Step 3 also shows the “XML Camunda Platform ^ >”

If you click SAVE, you are correct, that it will try to save a .bpmn file. This is expected, as there a several different ways to deploy to a local Camunda install.

Once you have saved your .BPMN file you can then upload it to the REST interface as is demonstrated in the second image of step 3.

Hi @kgard,

thank you for insisting on this topic. It’s indeed an error on our documentation. I will file a pull request with a screenshot where the Camunda Platform is selected.

If you choose this option (Camunda Platform) on the first click, you are able to run the example successfully.

Hope this helps, Ingo

1 Like

Hi @Ingo_Richtsmeier and @GotnOGuts ,

thank you for the help and acknowledgment of the problem.

But there is yet another Problem.

On Deploy the Process (3/6) | docs.camunda.org second Screenshot it is explained to enter a rest endpoint. But you only have this option for the cloud deployment haven’t you ?

I got a .war deployed another way following a YouTube tutorial. Just wanted to pointed as well.

Best Regards

Kgard

Hi @kgard,

if you start with a Camunda Platform process model, you will get the dialogue shown in the screenshot.

When you run the Camunda Platform on your local computer (No cloud involved), you enter http://localhost:8080/engine-rest as the endpoint.

Hope this helps, Ingo