Skip to main content
June 30, 2022
Question

Task List

  • June 30, 2022
  • 24 replies
  • 0 views

Hi all,

I want to display all the tasks which are assigned to xyz groups.I have used process report for the same and also getting the task lists which are assigned to that xyz group and also getting same task more than 4 times for the same assignee.  Can someone suggest on the same?

Thanks in advance.

    24 replies

    June 30, 2022

    this is how grid now

    stefanhelzle0001
    June 30, 2022

    Is your issue is that you expect that task to show only one time? I assume you did not implement any kind of aggregation.

    Is that on a DEV environment? Did you check how many active process instances there are?

    I have never seen a single task instance to show up more than once in a report.

    June 30, 2022

    yes I want to show one task since it is the same task repeated more than 4 times.

     local!report: a!queryProcessAnalytics(
          report: cons!CR_RPT_ACTIVE_TASKS_FOR_USER_REPORT,
          contextUsers: getdistinctusers(
            {
              cons!MAKER_GROUP,
              cons!CHECKER_GROUP,
              cons!MANAGER_GROUP
            }
          ),
          query: a!query(
            logicalExpression: a!queryLogicalExpression(
              operator: "AND",
              logicalExpressions: {
                a!queryLogicalExpression(
                  operator: "OR",
                  filters: {
                    a!queryFilter(
                      field: "c13",
                      operator: "in",
                      value: touniformstring(
                        {
                          cons!ALL_PROCESS_MODEL_NAMES,
                          cons!APP_TXT_ALL_PROCESS_MODEL_NAMES,
                          cons!LA_TXT_ALL_PROCESS_MODEL_NAMES,
                          
                        }
                      )
                    )
                  }
                ),
    the process models names not repeated here.