I am using Activiti 5.13 And I am using MySQL 5.5 and I am using VMware machines and application and MySQL Db is there in Same VMwhare Box when ever i am trying to access Activiti query API methods i getting results very slow
Example Methods are :
HistoricProcessInstanceQuery processInstanceQuery = historyService.createHistoricProcessInstanceQuery().processInstanceBusinessKey(processBusinessKey);
processInstanceQuery.count() –> This Method is taking more time more than 5 sec it is taking
processInstanceQuery.singleResult() – This Method is taking more time more than 4 sec it is taking
taskService.getVariables(taskId);