-
1. Re: how can i do research ?
vtysh Aug 6, 2007 9:33 AM (in response to galvino)I think that the most quick and efficient way is to use hql queries
-
2. Re: how can i do research ?
galvino Aug 6, 2007 10:07 AM (in response to galvino)i think so .
but, sometimes there aren't enougth information to get that i want.
for example,find all processinstances initialized by an user
into the table jbpm_processinstance there isn't an column for actor . -
3. Re: how can i do research ?
vtysh Aug 6, 2007 10:23 AM (in response to galvino)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.
-
4. Re: how can i do research ?
galvino Aug 6, 2007 10:56 AM (in response to galvino)ok, thanks i 'll try that
-
5. Re: how can i do research ?
galvino Aug 7, 2007 7:19 AM (in response to galvino)i successfully did my research.
but aren't there any function on Jbpm API that can do this , without using sql.
like find.....() ??? -
6. Re: how can i do research ?
galvino Aug 7, 2007 11:12 AM (in response to galvino)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 ? -
7. Re: how can i do research ?
emiretna Aug 18, 2010 7:09 AM (in response to galvino)In which area are you doing your research?