Collapsed subprocess not executable

Hi there
First of all, thank you for this great piece of software. It already helped me so much in my past and I really appreciate the project and your work.

Nevertheless, I’m having trouble to model a process and can’t quite figure out what the intended way in Camunda is.

Basically, I’m trying to model a process with a collapsed subprocess. I’m aware that the modeler does not support expanding collapsed subprocesses (anymore). In addition, there is no way to connect this collapsed subprocess to another expanded subprocess. Therefore, there is no way to model this process step whatsoever.

The process engine, though, gives me an error that a “subprocess must define a startEvent element”.

One way to get around this is to use a call activity. However, I’d like to know if there is a way to model this case using a subprocess.

So my question is, how do I model a process with a collapsed subprocess in Camunda modeler that is able to be executed in Camunda engine?

See my process diagram below.

-Dominik

processhouse_copy2.bpmn (2.4 KB)

Hi @dobu
Welcome to the fourm!
I’m very interested in this question.

Mainly because I’d like to know why it is that you want to do this, generally collapsed sub-processes don’t have much of a need to be executed by the engine, they’re often just used for diagrams that are not intended for execution.

1 Like

I was under the impression that there is some way to connect a collapsed subprocess to another expanded (sub)process.

However, you are absolutely right. According to the specification “[a] Sub-Process is a graphical object within a Process, but it also can be ‘opened up’ to show a lower-level Process.”

The bottom line is that there is no need to have an collapsed subprocess in an executable process.

Thank you, Niall
-Dominik

1 Like