JBoss development,
A new message was posted in the thread "No public metadata API?":
http://community.jboss.org/message/524949#524949
Author : Sebastian Schneider
Profile :
http://community.jboss.org/people/sebastian.s
Message:
--------------------------------------------------------------
Are you using jBPM 4.3 or jBPM 3.2? In jBPM 4.3 there is the ExecutionService. Using it
you can retrieve process instances by their ids:
{code}
ProcessInstance processInstance =
executionService.findProcessInstanceById(processInstanceId);
{/code}
Afterwards you can use the following methods to retrieve some of the information you
wanted:
{code}
processInstance.findActiveActivityNames();
processInstance.getState();
processInstance.getProcessDefinitionId():
..
{/code}
HTH. If you could be a bit more specific on the data you want to retrieve we would be able
to help more. Maybe it's something which is not possible through the API right now but
would make sense and thus be useful to others, too. In this case: why not fill a JIRA
issue after discussion?
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/524949#524949