Description
Scenario: I have a report that is on a dashboard and this dashboard has a variable filter.
Then if I change the process definition of the report and save the report, we need to adjust the variable filter of the dashboard if the new process definition does not have that variable anymore. Two scenarios are possible:
- The new process definition does not have the variable anymore. In that case the variable needs to be removed from the available filters for the dashboard
- The new process definition still has the variable, but (in case of string variables), the list of values is different and a removed value is used in a dashboard filter. In this case the list of allowed values for the filter has to be adjusted to no longer include the no-longer-existing values
These actions must only be performed if no other report on the dashboard still provides access to the variable or value in question.
The same issue can appear if a report is deleted.