The subprocess “Antrag auf Vollständigkeit, Konformität prüfen” is triggered by a message in the previous activity. If the subprocess starts instead of one, I have two process instances:
The models you uploaded don’t match the ones in the screen shots. Can you upload the latest versions.
Can you also explain how you trigger the message event. Showing the code would be useful.
There was a failure in creating the maven file. Somehow I created two .war-Files and both .war files contained different processes. The attached processes are the right on even they are not the same as the ones in my first post:
Right, so it appears you’re both sending a message to start the sub process AND starting it via a sequence flow. That’s why you’re getting two instances. I took your example and substituted ‘do nothing’ code (just logged to sysout) in Unterlagen… and it started only one instance. The other option is to use your code but have that branch of the process end. Another option would be to have a sequence flow from Bearbeitung to the sub process and not throw the message.