Thanks RAlfoeldi and enazareno!  I appreciate you taking the time to help me 
understand!

"enazareno" wrote : 
  |      The process instance has a getId() method that returns the unique 
number of your process instance. 

So, keeping with this method, I can store the processInstanceID in my objects, 
to load at any time?


  | public class Request {
  |   
  |   String name;
  |   Date dateCreated;
  |   Date dateRequested;
  |   long workflowID;
  | 
  |   public long getWorkflowID() {
  |     if (workflowID == null) {
  |        // obtain a JBpm session and processInstance
  |        workflowID = processInstance.getId();
  |       }
  |      return workflowID;
  |   }
  | 
  |   public void setWorkflowID(long id) {
  |     this.workflowID = id;
  |   }
  | }
  | 

Am I on the right track so far?  Again, keeping to this effect, I can load the 
JBpm process using:


  |   processInstance = 
graphSession.loadProcessInstance(request.getWorkflowID());
  | 

Is my understanding right?

Thanks for your help, and your time!  If I'm correct in my understanding for 
processInstances, my next learning challenge is task lists and assignments 
((grin))

Again, thanks.
~~Aaron

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

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


-------------------------------------------------------
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