AT:

      • Adjust the 'distributedBy' report configuration property to allow grouping by assignee/candidate group.
      • Evaluating a report distributed by assignee/candidate should only be possible when the report view is 'userTask' and the groupBy is 'FlowNode'

      Example evaluation result:

        {
          "instanceCount" : 5,
          "isComplete" : true,
          "type" : "hyperMap",
          "data" : [{
            "key": "approveInvoice",
            "label": "Approve Invoice",
            "value": [
              {"key": "demo", "label": "demo", "value": "124"},
              {"key": "john", "label": "John", "value": "50"}
            ]
          },{
              "key": "reviewInvoice",
              "label": "Review Invoice",
              "value": [
                {"key": "demo", "label": "demo", "value": "0"} // <-- edit: add empty distributed by result
                {"key": "john", "label": "John", "value": "20"}
              ]
          }],
        }
      

        This is the controller panel for Smart Panels app

            [OPT-3170] adjust report configurations to include distribute by assignee and candidate group

            It makes sense to wait with this ticket until OPT-2519 is merged.

            Helene Waechtler added a comment - It makes sense to wait with this ticket until OPT-2519  is merged.

            Helene Waechtler added a comment - - edited

            omran.abazeed if `value` is completely empty (i.e. the task has not been started at all), would you expect the entry still to show up (with empty value list), or would you expect the entry for this task to be completely omitted from the result?

             

            Edit: having chatted with Felix, we always want to show all user tasks that exist in the process, even if we don't have any values for them. In that case the value will be an empty list

            Helene Waechtler added a comment - - edited omran.abazeed  if `value` is completely empty (i.e. the task has not been started at all), would you expect the entry still to show up (with empty value list), or would you expect the entry for this task to be completely omitted from the result?   Edit: having chatted with Felix, we always want to show all user tasks that exist in the process, even if we don't have any values for them. In that case the value  will be an empty list

              Unassigned Unassigned
              omran.abazeed Omran Abazeed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: