Skip to main content
August 12, 2022
Question

How to display the tasks assigned to specific group in process task report?

  • August 12, 2022
  • 2 replies
  • 0 views

I am trying to display the all the tasks assigned to level one authority in the process report but not being able to display. Any help will be appreciated.

    2 replies

    August 12, 2022

    Create a constant of the group and use that constant into ContextGroups.

     

    a!queryProcessAnalytics(
      report: cons!OPEN_REIMBURSEMENT_REQUESTS,
      contextGroups: cons!EXPENSE_APPROVERS,
      query: a!query(
        pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 20),
        logicalExpression: a!queryLogicalExpression(
          operator: "AND",
          filters: {
            a!queryFilter(field: "c2", operator: "includes", value: "East"),
            a!queryFilter(field: "c4", operator: ">", value: 10000)
          }
        )
      )
    )

    For more details: a!queryProcessAnalytics() Function - Appian 21.4

    stefanhelzle0001
    Brainy
    August 12, 2022