Viewer Subprocesses

I’m using Flowable to create manipulate subprocesses and display in BPMN.IO.

  1. A subprocess may not have a isExpanded on the shape. Is there a way to catch and update that field before rendering the display? Or update it once it’s been imported?
  2. Flowable Collapsed Subprocesses do not expand in the Viewer regardless of flag isExpanded=‘true’ or ‘false’. Is there a best practice to display these subprocesses or use interaction to select and display a subprocess to the canvas?

Thanks.

Hi @smiller, welcome!

Can you maybe share your diagram so we can have a deeper look at this?

Here is a sample file with both cases.
Normal_and_Collapsed_Subprocess.bpmn20.xml (8.6 KB)