cancel
Showing results for 
Search instead for 
Did you mean: 

Image creation (explanation needed)

usrt1
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to figure out how model, process definition and process instance images are generated, with no luck so far…

I have the following links:

<b>process instance image: </b>/activiti-explorer/ui/APP/4/148060344d5f-aba5-4299-ad58-67520305a5e0.png

<b>deployed process image: </b>/activiti-explorer/ui/APP/5/process%3A2%3A1488.png

<b>model image: </b>/activiti-explorer/ui/APP/3/myfilename-20160111144410881.png

What does <b>4</b> in <i>/ui/APP/4/148…</i> stand for?  Where can I find <i>148060344d5f-aba5-4299-ad58-67520305a5e0</i>?

I'd appreciate if anybody could point me the code/classes that are generating these links.

4 REPLIES 4

usrt1
Champ in-the-making
Champ in-the-making
Image creation (explanation needed)

<b>edit: </b> accidentally commented. Is t possible to remove this comment?

vasile_dirla
Star Contributor
Star Contributor
Hi,
About how the process thumbnail images are generated see:
ModelServiceImpl.java
<code>
protected void generateThumbnailImage(Model model, ObjectNode editorJsonNode)
</code>

usrt1
Champ in-the-making
Champ in-the-making
Is this for 5.19 version? I am looking an answer for 5.16.4 version.

Edit: Can you tell me activiti module and package which has that class? Because I can't find it.

Thanks

jbarrez
Star Contributor
Star Contributor
DIagrams are generated by the ProcessDiagramGenerator class.
I don't think that number in the URl has anything to do with the image being generated (but my knowledge there is rusty)