Al Nadein [http://community.jboss.org/people/matrixpooh] replied to the 
discussion

"Get subprocess id from outside the process"

To view the discussion, visit: http://community.jboss.org/message/555449#555449

--------------------------------------------------------------
final Execution exectution = 
processInstance.findActiveExecutionIn("subprocess");
String pid = processEngineFactory.getProcessEngine().execute(
 new Command<String>(){
   public String execute(Environment env){
    return ((ExecutionImpl)execution).getSubProcessInstance().getId();
   }
 }
); 


fails with LazyInitializationException - i.e. the same exception as before

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/555449#555449]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to