- Have a process definition that is deployed for two tenants "A" and "B". It must not be a shared process definition, so having process instances without a tenant is not an option.
- Create an Optimize report and try to deselect both tenants (either manually or by using the "Disable All" button)
- I can deselect all tenants
- The "Disable All" button does not work and deselecting the last tenant has no effect
This only occurs with process definitions that must have a tenant, so the "Not defined" option is not present. As soon as process instances can have no tenant and the "Not defined" option is present, Optimize behaves as expected.
It appears the problem is that it is not clear which diagram to load in this case. When deselecting all tenants, we try to load the xml of the process definition without a tenant, which does not exist in this case.