[jboss-user] [jBPM] - Visualize workflow and it's current state

HuiSheng Xu do-not-reply at jboss.com
Wed Aug 18 10:01:39 EDT 2010


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100818/38059f0f/attachment.html 


More information about the jboss-user mailing list