zeebe-io/zeebe-modeler

Implement toggle switch for propageteAllChildVariables setting

MaxTru opened this issue · 1 comments

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

Implement toggle switch for propageteAllChildVariables setting propagateAllChildVariables and disabling/deleting output parameter mappings.

Describe the solution you'd like

  • For the CallActivity I/O tab, a toggle/slider Propagate all child variables? will be added on top of the output parameter mapping. This toggle will control whether it is possible to have output parameter mappings or not.
    • Toggle on equals to true, and off equals to false
    • If the toggle is on, it is not possible to add output parameter mappings.
    • If the toggle is set to on, existing output parameter mappings will be deleted.
    • If the toggle is off, the output parameter mapping component will work as usual.
  • [For new CallActivities created]: the toggle is off as default.

Implementation approach

  • Create a new behavior which will add the propgateAllChildVariables property when creating a new CallActivity
  • Add toggle switch to the Output Parameters and update them based on toggle switch

(Migration I will deal with in a separate issue, see #252)

Describe alternatives you've considered

See #252

Additional context

Child of #252

Closed via #271