[jboss-user] [jBPM] - Get subprocess id from outside the process
Al Nadein
do-not-reply at jboss.com
Mon Aug 2 11:02:06 EDT 2010
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100802/187680f0/attachment.html
More information about the jboss-user
mailing list