Discussion:
[jboss-user] [jBPM] - No diagram associated with process in jBPM 5.4
Hoai Linh Nguyen
2013-08-08 08:08:25 UTC
Permalink
Hoai Linh Nguyen [https://community.jboss.org/people/spyhunter88] created the document:

"No diagram associated with process in jBPM 5.4"

To view the document, visit: https://community.jboss.org/docs/DOC-50892

--------------------------------------------------------------
I generate *.bpmn in eclipse, config name, parameter, add User/Roles into Jboss/standalone/configuration. I already generate *.PNG and *.ftl for all Human Task. Everything work fine except I get "No diagram associated with process".

What did I do:
- I put my *.bpmn to {jbpm-installer}/sample/.../resource/*.bpmn like the Evaluation.bpmn.
- I already put the *.jar file with all *ftl* files and one image (*PNG* file) into jbpm-gwt-console-server.war/WEB-INF/lib.

What I get:
- I get the new Process in the List. I can create new, All Human Task, GroupId, UserId, Claim, View ... actions working.
- But I can get the Diagram.

I create the PNG like {processId}-image.PNG. Look into all the process and no other prorcess has the same name, only same "*com.sample.bpmn.*".
--------------------------------------------------------------

Comment by going to Community
[https://community.jboss.org/docs/DOC-50892]

Create a new document in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2034]
Hoai Linh Nguyen
2013-08-08 08:23:09 UTC
Permalink
Hoai Linh Nguyen [https://community.jboss.org/people/spyhunter88] modified the document:

"No diagram associated with process in jBPM 5.4"

To view the document, visit: https://community.jboss.org/docs/DOC-50892

--------------------------------------------------------------
I generate *.bpmn in eclipse, config name, parameter, add User/Roles into Jboss/standalone/configuration. I already generate *.PNG for process and *.ftl for all Human Task. Everything work fine except I get "No diagram associated with process".

What did I do:
- I put my *.bpmn to {jbpm-installer}/sample/.../resource/*.bpmn like the Evaluation.bpmn.
- I already put the *.jar file with all *ftl* files and one image (*PNG* file) into jbpm-gwt-console-server.war/WEB-INF/lib. The jar file don't have *.bpmn, java files, only ftl, png and some project information include.

What I get:
- I get the new Process in the List. I can create new, All Human Task, Forms, GroupId, UserId and Claim, View ... actions working.
- But I can get the Diagram.

I create the PNG like +{processId}-image.PNG+. Look into all the process and no other prorcess has the same name, only same "*com.sample.bpmn.*". I try to restart (stop - start) demo.db again and again, althought restart my PC but no more luck. I already try with a new jBPM Project. Please look at my ZIP file and help me. Thanks.

PS: I hate the web-designer in jBPM5.4 because I can't edit my form in it.
--------------------------------------------------------------

Comment by going to Community
[https://community.jboss.org/docs/DOC-50892]

Create a new document in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2034]
Hoai Linh Nguyen
2013-08-08 11:11:06 UTC
Permalink
Hoai Linh Nguyen [https://community.jboss.org/people/spyhunter88] commented on the document

"No diagram associated with process in jBPM 5.4"

To view all comments on this document, visit: https://community.jboss.org/docs/DOC-50892#comment-12506

--------------------------------------------------
Sorry, maybe I posted in a wrong place.
Anyway, I think I found the answer, or at least make it work now. My *.bpmn and *.ftl is OK, everything is the PNG file name in the JAR file.
My ProcessID: *com.sample.bpmn.sampleInternalOrder*
My PNG file:
com.sample.bpmn.sampleInternalOrder-image.png -> Don't work.
sampleInternalOrder-image.png -> Don't work.
Now I use two files:
com.sample.bpmn.sampleInternalOrder.png and sampleInternalOrder.png -> Work. So some of them make the diagram visible, I'll try the exactly one to work later.
--------------------------------------------------

Loading...