Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6779

Ensure instant preview entities display data from all tenants and versions

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.10.0-alpha5, 3.10.0
    • None
    • backend
    • None

      Context:

      Currently, instant preview report templates specify a version and a tenant (null tenant) for their process definitions. However, when displaying the instant preview reports/dashboards, we want to show the user all data on all tenants (from all versions) that the given definition exists on. Since definitions may be deployed on additional tenants after initial creation of the instant preview entities, we cannot hardcode or persist the version/tenant selection for the instant preview reports upon report creation. Instead, when evaluating instant preview reports, we need to overwrite the version and tenant selection with all versions and all tenants the definition exists on at the time of report evaluation.

       

      Hint: This can be done in ReportEvaluationHandler, upon investigating our options we saw that a similar solution already exists there for mangement reports.

       

      AT:

      • instant preview reports show data for all versions on all tenants the definition exists on
      • we have IT that covers this behaviour

      Testing Notes:

      Ensure instant preview report shows data from all tenants the user is allowed to see. To ensure this, one could for example:

      1. deploy definition on tenant1
      2. create some data for that definition on tenant1
      3. access the instant preview dashboard/reports in Optimize and confirm data from tenant1 is shown there
      4. deploy another version of the same definition on tenant2
      5. create some data for that definition on tenant2
      6. open the same instant preview reports again and confirm they now display data from both tenant1 and tenant2

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: