[jboss-user] [jBPM] - Re: jBPM Process Image

Silvio Meier do-not-reply at jboss.com
Tue Mar 29 05:09:26 EDT 2011

Silvio Meier [http://community.jboss.org/people/k0k0pelli] created the discussion

"Re: jBPM Process Image"

To view the discussion, visit: http://community.jboss.org/message/596155#596155

For jBPM 4.4, you need to deploy the image together with the process definition (as far as I know with the same filename, but with the png extension). When executing, you can retrieve the currently executed task. You can then retrieve the coordinates of the activity using the
 http://docs.jboss.org/jbpm/v4/javadocs/org/jbpm/api/RepositoryService.html#getActivityCoordinates%28java.lang.String,%20java.lang.String%29 getActivityCoordinates(java.lang.String processDefinitionId,   java.lang.String activityName) from the ProcessService class. 

Note that you must have created the diagram with one of the editors used for jBPM (either web or Eclipse), because the editor stores the coordinates of the nodes in the xml.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list