I’m using Camunda cloud SaaS, thus presumably it’s Camunda 8. How does one collapse an embedded subprocess? In the screenshot here, it’s the ‘Microsoft 365 Setup’ subprocess that I’m trying to collapse. I’ve
I understand how to work with collapsed subprocesses, such as ‘Paylocity Setup’ in my screenshot, and I understand that a Call Activity is recommended, but I’m just trying to learn all functionality of Camunda.
This Camunda 8 documentation article states:
A subprocess can be collapsed to conceal its internal details, thereby hiding complexity within an activity and enabling the nesting of multiple levels of subprocesses. This functionality allows you to simplify the view of a process diagram and facilitates drill-down capabilities to examine details.
We’d have to wait for someone from the Camunda Documentation team to chime in, but I think that’s a case of unclear language.
I think is meaning to convey that a subprocess that hasn’t been expanded is used on a process flow to conceal the internal detail of the subprocess.
As far as I know, once expanded, a subprocess cannot be reversed. I think that when you convert from a Collapsed Subpress to Expanded Subprocess there’s a hint indicating that this is not reversable.
Since the next note on the link you posted indicates Collapsed subprocesses serve purely display purposes. then putting details of the execution inside them wouldn’t make any sense - you’d lose them when you collapse it!
Hi @Anthony_Guillen, welcome to the forums! @GotnOGuts is correct - you can’t expand or collapse subprocesses within the model. We did support this in previous versions of Modeler, but it caused a LOT of issues with layout, so much so that we had to remove it. As our generative AI capabilities improve around BPMN - one feature of which is making your model “prettier” and realigning elements - then it might be something that gets reintroduced.
I do agree that our documentation is unclear on this point, and I’ve shared this feedback with our documentation team so they can review the language and clarify.
Click on the sub-process element, then select Change element from the toolbar and select either Sub-process (collapsed) or Sub-process (expanded) to switch between expanded and collapsed sub-processes.
As others noted, there is no automatic re-alignment of elements in the parent process. This is simply not supported at the moment.