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.
Discussion posts and replies are publicly visible
this is how grid now
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.
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 trick is not to try to reduce the number of tasks shown in the report, but to understand why the number of tasks in the system is higher than expected. Solve that first and your report will be fine.
Yes Can someone suggest how to get single task instead of multiple task with the same action?
Can you please make sure that there is only a SINGLE active process instance with that given task. Then check the report again.
yes there is one process instance .But when I checked it from the process report by enabling of the process model, it is showing more than 4 tasks.
OK. Can you please also check the number of task instances from process monitoring. Could it be that this task is configured to spawn one instance for each assignee?
Sorry,I didn't get this and the report which I have used is process report ,sorry If am wrong with the question understanding.
Can anyone suggest solution for the above issue?