[jboss-user] [jBPM Development] New message: "Re: No public metadata API?"

Bill Burke do-not-reply at jboss.com
Tue Feb 9 15:24:49 EST 2010

User development,

A new message was posted in the thread "No public metadata API?":


Author  : Bill Burke
Profile : http://community.jboss.org/people/bill.burke@jboss.com

I guess I'm missing out to get an Activity plus how to get the transitions that are available out of the activity.  I don't currently see any query api to get this information within JBPM 4.3
Currently I'm getting a "no environment to get org.jbpm.pvm.internal.session.RepositorySession" error when I do this:
      instance = engine.getExecutionService().findProcessInstanceById(pid);
      ExecutionImpl execution = (ExecutionImpl)instance;
      Activity current = execution.getActivity();
getActivity() is throwing it.  What I want to get at runtime is the available transitions out of the current wait state.


To reply to this message visit the message page: http://community.jboss.org/message/525223#525223

More information about the jboss-user mailing list