-
1. Re: how to get the process image from guvnor or designer
a_nat May 8, 2012 11:54 AM (in response to saig0) -
2. Re: how to get the process image from guvnor or designer
saig0 May 9, 2012 10:35 AM (in response to a_nat)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.
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.
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.
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.
Is there a way to automate the image creation?
Or other solutions?
-
3. Re: how to get the process image from guvnor or designer
tsurdilovic May 9, 2012 10:59 PM (in response to saig0)1 of 1 people found this helpfulRight now, now but we are working on a possible solution. Should be available in Designer 2.2 (I hope ). Community help is more than welcome.
-
4. Re: how to get the process image from guvnor or designer
fiimage Mar 27, 2014 3:12 AM (in response to tsurdilovic)here i would like to share my method of processing and creating image. it usually does a great job, please see if it is helpful. and let me know if you ned anything else.