bpmn-js icon indicating copy to clipboard operation
bpmn-js copied to clipboard

I can create a collapsed sub process, but cannot do anything useful with it

Open pihme opened this issue 2 years ago • 2 comments

Describe the Bug In desktop and web modeler I can create a collapsed sub process, but then I cannot do anything useful with it.

Steps to Reproduce

  1. Create Camunda 8 BPMN diagram
  2. Create task
  3. Use wrench menu to turn it into a call activity (this adds additional entries to the wrench menu)
  4. Use wrench menu to turn it into a collapsed sub process
  5. Maybe there is a trick I am missing, but in dedktop and web modeler, I don't see a way to do anything useful with it.

Hints

  • Works great in https://demo.bpmn.io/new where I have this arrow to go into the details
  • Doesn't work in current web modeler or in desktop modeler version 5.0.0

Expected Behavior

  • Either I cannot reach that state, or
  • I can navigate into the collapsed sub proces and edit it

Environment

  • Browser: Firefox
  • OS: Ubuntu 21.04
  • Library version: Desktop Modeler 5.0.0, current web modeler

Depends on https://github.com/camunda/camunda-bpmn-js/pull/139

pihme avatar Jun 27 '22 08:06 pihme

Additionally to that, you can not convert a task into an expanded subprocesses in the Web Modeler with the wrench action; you need to convert it to a call activity, first. This needs to be fixed, too.

This means

  • Prevent the creation of collapsed subprocesses in C8 at all
  • Allow to convert blank tasks into expanded subprocesses in the Web Modeler again

christian-konrad avatar Jul 05 '22 07:07 christian-konrad

As long as Cloud does not support collapsed subprocesses, I think it should work like it did with previous modeler releases.

This means that you can model collapsed subprocesses (for non-execution or compatibility usecases) and expand them, but can't collapse subprocesses. It is a bug that the expand option is not available in cloud modeler, which will be addressed in https://github.com/camunda/camunda-bpmn-js/pull/139

Recording 2022-07-06 at 13 32 04

marstamm avatar Jul 06 '22 11:07 marstamm

@marstamm What is the status of this issue? I do not see any PR referencing it.

nikku avatar Aug 17 '22 08:08 nikku

This was an issue in camunda-bpmn-js and was released as v0.16.0 and modeler 5.2.0

marstamm avatar Aug 17 '22 08:08 marstamm