[jboss-user] [jBPM] - Re: how to get the process image from guvnor or designer

saig0 do-not-reply at jboss.com
Wed May 9 10:33:36 EDT 2012


saig0 [https://community.jboss.org/people/saig0] created the discussion

"Re: how to get the process image from guvnor or designer"

To view the discussion, visit: https://community.jboss.org/message/734529#734529

--------------------------------------------------------------
Thank's for help.

I can use the rest service of gwt-console-server to get the process image:  http://{your-address}/gwt-console-server/rs/process/definition/{your-process-id}/image http://{your-address}/gwt-console-server/rs/process/definition/{your-process-id}/image.
But I don't need the gwt-console-server because it use the service of guvnor:  http://{your-address}/drools-guvnor/org.drools.guvnor.Guvnor/package/{your-package}/LATEST/{your-process-id}-image.png http://{your-address}/drools-guvnor/org.drools.guvnor.Guvnor/package/{your-package}/LATEST/{your-process-id}-image.png.
I can also access the image with following rest service of guvnor:  http://{your-address}/drools-guvnor/rest/packages/{your-package}/assets/{your-process-id}-image/binary http://{your-address}/drools-guvnor/rest/packages/{your-package}/assets/{your-process-id}-image/binary.

The main problem is that the process image will not be generated. You must create the image manually in designer first (with PNG button on bottom). After creation guvnor put's the image in the same package as other (PNG) asset. 
So if you forget to create the image on every update of the process, the image is not available or not up-to-date.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/734529#734529]

Start a new discussion in jBPM at Community
[https://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/20120509/5e105224/attachment-0001.html 


More information about the jboss-user mailing list