In flowable 6.3.1, how to get list of tasks from - taskService.createTaskQuery()?
is there any api method that need to be called?
Thanks,
Vzy
In flowable 6.3.1, how to get list of tasks from - taskService.createTaskQuery()?
is there any api method that need to be called?
Thanks,
Vzy
All queries in Flowable extend from the common Query
. Which means that you can get a list of tasks by just invoking list()
on your TaskQuery
I am trying to migrate from 6.2.1 to 6.3.1 and it is working fine in 6.2.1 as,
List processDefs = repositoryService.createProcessDefinitionQuery()
.processDefinitionTenantId(client.getClientCode()).list();
but, in 6.3.1 not able to see .list() method and if i tried by modifying as below getting exception,
Query query = repositoryService.createProcessDefinitionQuery()
.processDefinitionTenantId(client.getClientCode());
List processDefs = query.list();
exception:
“The type org.flowable.common.engine.api.query.Query cannot be resolved. It is indirectly referenced from required .class files”
Thanks,
Vzy
Hey Vzy,
This should not be happening. Can you please do mvn dependency:tree
and send us the information so we can have a look? I suspect that you are having multiple versions and there is some clash there.
Cheers,
Filip