AnsweredAssumed Answered

Activiti Engine is taking more time to fetch the tasks

Question asked by balakrishna.koduru5@gmail.com on Jan 4, 2015
Hi,

i am using below line to get all the tasks assigned to admin user in my application

List<Task> taskList = taskService.createTaskQuery().taskAssignee("admin").list();

this line it is taking 3 sec to complete the execution

and only one process is running

i am using activiti 5.13

ProcessInstance result = runtimeService.createProcessInstanceQuery().processInstanceId(Task.getProcessInstanceId()).singleResult();

HistoricProcessInstanceQuery processInstanceQuery = historyService.createHistoricProcessInstanceQuery().processInstanceBusinessKey(processBusinessKey);
processInstanceQuery.count()

every statement it is taking more than 2 sec in my local it is working fine but only in UAT this problem u r getting
and mysql DB i am using

Please any one Help on this one

Outcomes