Hi Alex,

Thanks for replying, both posts were very helpful.
I have some more doubts

in section 3.2 example it says :
    // Now, we search for all process instances of this process definition.
  |     List processInstances = 
  |         graphSession.findProcessInstances(processDefinition.getId());
  |     
  |     // We know that in the context of this unit test there is 
  |     // only one execution.  In real life, the processInstanceId can be 
  |     // extracted from the content of the message that arrived or from 
  |     // the user making a choice.
  |     ProcessInstance processInstance = (ProcessInstance) 
processInstances.get(0);

in real life we might not go for processInstances.get(0),
can you give me a code sample of how to resolve a particular process instance 
from the given list. Like what is the identifier?

Thanks in advance!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919222#3919222

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919222


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to