User development,
A new message was posted in the thread "how to find all processInstance":
http://community.jboss.org/message/528424#528424
Author : Maciej Swiderski
Profile :
http://community.jboss.org/people/swiderski.maciej
Message:
--------------------------------------------------------------
HI,
it seems like key is not set in JBPM4_EXECUTION table that's why the list is empty.
You could do one of two things:
1. use process definition id to return all process instances of given definition
2. assign process definition key and process instance key while starting, this could be a
solution if you can use this pair when querying for process instance and then you could
use processInstanceId, check out user guide
http://docs.jboss.com/jbpm/v4/userguide/html_single/#withakey
For instance, you could use something like this: DEMO.{file_name}
Cheers,
Maciej
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/528424#528424