camunda / camunda-modeler

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

Formal parameters suggestions are not reloaded until view is reopened #4544

Open barmac opened 5 days ago

barmac commented 5 days ago

Describe the bug

Variables are only loaded when you open the BKM, so you need to reopen the view after you add the formal parameters:

https://github.com/user-attachments/assets/2011b103-531a-44c9-be54-571d700ede5c

Steps to reproduce

  1. Create a BKM
  2. Add formal parameters
  3. Try to use the suggestions

Expected behavior

Suggestions are always up to date.

Environment

Additional context

Initially reported in https://github.com/bpmn-io/dmn-js/issues/896

barmac commented 5 days ago

This is not a regression. The bug was present when BKM modeling was introduced.