Uploaded image for project: 'Camunda Operate'
  1. Camunda Operate
  2. OPE-1173

I can see up-to-date status for each flow node instance

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Feature description

      The status of each flow node instance (running/finished/incident) should be updated regularly

      Solution draft

      • In the first iteration we should trigger one poll request for each expanded sub tree
      • if the parent instance of an expanded sub tree is finished, it can be excluded from polling
      • In case the user has scrolled down/up, and the first/last instances are not in memory anymore, we can't leverage searchAfter / searchBefore. We need to implement searchAfterOrEqual / searchBeforeOrEqual in the backend
      • to avoid race conditions with scroll requests and poll requests, we need to make sure that there is only one active request at a time
      Scenario A

      = running, = finished

      Currently we have this data in store:

      subprocess1
      –-- task1
      –-- task2
      –-- ...
      –-- task50
      subprocess2
      ---- taskA
      ---- taskB

      • task50 is the last child of subprocess1 we have in store
      • When task50 is currently visible in viewport, we poll for task1 + 100 tasks to fill the viewport with potentially new tasks
      • When task50 is currently not visible in viewport, but still in store, we only poll for what is in store (task1 + 50 tasks)
      • subprocess2 is finished, so this subtree (subprocess2 + children) can be excluded from polling

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                patrick.dehn Patrick Dehn
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated: