camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.5k stars 481 forks source link

Remove output mappings when adding multi instance marker #1055

Open menski opened 5 years ago

menski commented 5 years ago

Is your feature request related to a problem? Please describe.

Steps to reproduce:

  1. Add a task to your process
  2. Add an output mapping to the task
  3. Add a multi instance marker to the task

The Problem:

  1. The process is now rejected by Camunda as output parameters are not allowed on multi instance activities, see the note in https://docs.camunda.org/manual/7.10/user-guide/process-engine/variables/#multi-instance-io-mapping
  2. The user cannot remove the output parameter from the task as the properties panel does not show the output parameters as it is not supported by the engine

Describe the solution you'd like

I think either the user should be informed that the task contains output mappings and therefore cannot be marked as multi instance, or the output mappings should be removed automatically. I'm not sure what the common behavior in such situations is in the modeler.

Describe alternatives you've considered

There is a workaround for the user to edit the XML or temporary disable multi instance to remove the output parameter. But it is not really a great user experience.

philippfromme commented 5 years ago

In this case the output mappings should be removed automatically. Thanks for reporting.