Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9874

In Cockpit, variables tab on process instance history view shows loading spinner under certain circumstances

    XMLWordPrintable

    Details

      Description

      Preconditions
      A process instance is already completed, has more than 1500 activity instances and scoped process variables.

      Steps to reproduce

      • In Cockpit, go to process instance history tab
      • Open variables tab

      Observed behavior
      Loading spinner is shown.

      Expected behavior
      Variables are shown.

      Root cause

      • The process instance has more than 1500 activity instances
      • In that case, Cockpit fetches only "unfinished" activity instances (see [1])
      • The variables tab does not behave gracefully, when it does not find an activity instance (see [2]).

      [1]: https://github.com/camunda/camunda-bpm-platform-ee/blob/1b21e3d3978b94739ee33741db806d38adb763a5/webapps/camunda-webapp/plugins/src/main/resources-plugin/cockpit/skeleton/app/cockpit/pages/processInstance.js#L86-L112
      [2]: https://github.com/camunda/camunda-bpm-platform-ee/blob/1b21e3d3978b94739ee33741db806d38adb763a5/webapps/camunda-webapp/plugins/src/main/resources-plugin/cockpit/history/app/views/processInstance/variableInstancesTab.js#L171-L236

        Attachments

          Activity

            People

            Assignee:
            michael.schoettes Michael Schoettes
            Reporter:
            tassilo.weidner Tassilo Weidner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: