Below is the expression rule code being used to get TaskId based on Asset and TaskOrGroupName filters. Getting below error:
"Grouping and aggregation are not supported. (APNX-1-4203-027)"
Code:
a!queryProcessAnalytics( report: cons!NSA_UserTasks_Report_Cons, contextUsers: loggedInUser(), query: a!query( selection: a!querySelection( columns: { a!queryColumn(field: "Asset", alis: "Asset", visible: true), a!queryColumn(field: "TaskId", alis: "TaskId", visible: true) } ), logicalExpression: a!queryLogicalExpression( operator: "AND", filters: { a!queryFilter(field: "Asset", operator: "=", value: ri!AssetOrProjectName), a!queryFilter(field: "Task", operator: "includes", value: ri!TaskOrGroupName) } ), pagingInfo: a!pagingInfo(1,-1)) )
Discussion posts and replies are publicly visible