I think that the most quick and efficient way is to use hql queries
i think so .
but, sometimes there aren't enougth information to get that i want.
find all processinstances initialized by an user
into the table jbpm_processinstance there isn't an column for actor .
It is not so hard to implement. You should know what task is first in process definition, or use startTask from TaskMgmtDefinition if you have it, i mean startTask. Then you should search all taskInstances for task with id equal to startTask id and actor equal to user. As a result you should manually retrieve related to the founded task instances processInstances.
ok, thanks i 'll try that
i successfully did my research.
but aren't there any function on Jbpm API that can do this , without using sql.
like find.....() ???
sorry, but i have another problem.
i can't using swimlane to create taskinstance by using swimlane of an actor.
have you got an idea ?
In which area are you doing your research?