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.htm...
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
[
http://community.jboss.org/message/596155#596155]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]