HuiSheng Xu [
http://community.jboss.org/people/rebody] replied to the discussion
"Visualize workflow and it's current state"
To view the discussion, visit:
http://community.jboss.org/message/557932#557932
--------------------------------------------------------------
Hi Eugene,
First you could get process picture from repostitoryService.
String imageName = processDefinition.getImageResourceName();
InputStream imageInputStream = repositoryService
.getResourceAsStream(processDefinition.getDeploymentId(),
imageName);
Second you could get activityCoordinates from repositoryService.
ActivityCoordinates ac = repositoryService
.getActivityCoordinates(processDefinitionId, activityName);
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/557932#557932]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]