User development, A new message was posted in the thread "No public metadata API?":
http://community.jboss.org/message/525223#525223 Author : Bill Burke Profile : http://community.jboss.org/people/bill.bu...@jboss.com Message: -------------------------------------------------------------- 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: engine.getExecutionService().signalExecutionById(pid); 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
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user