Skip to content

Commit

Permalink
[JBPM-10194] Fix TASK_AVG_DURATION query for postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
gmunozfe committed Sep 8, 2023
1 parent 0a9e54f commit bbc94d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class TotalCompletionTimeLoadCalculator extends AbstractLoadCalculator {
+ "select new org.jbpm.services.task.assignment.impl.TaskAverageDuration(avg(bts.duration),t.taskData.deploymentId,t.taskData.processId,bts.taskName) "
+ "from BAMTaskSummaryImpl bts left join TaskImpl t on (bts.taskId = t.id) "
+ "where (bts.duration is not null) and t.taskData.processId = :procid and t.taskData.deploymentId = :depid and t.name = :taskname "
+ "group by t.taskData.deploymentId, t.taskData.processId, t.name";
+ "group by t.taskData.deploymentId, t.taskData.processId, t.name, bts.taskName";

/**
* Initialize the cache
Expand Down

0 comments on commit bbc94d5

Please sign in to comment.