Andrew Tan [
https://community.jboss.org/people/atan20] created the discussion
"BPMN2 Designer Stuck loading after adding custom work item definition"
To view the discussion, visit:
https://community.jboss.org/message/820047#820047
--------------------------------------------------------------
I am trying to create a simple BPMN2 process that uses a domain specific service. However,
after I add a new work item definition in drools-guvnor 5.3.1 and I attempt to create or
open an existing bpmn2 process the designer gets stuck on the "Please Wait
Loading" screen.
https://community.jboss.org/servlet/JiveServlet/showImage/2-820047-20876/...
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-820047-20...
Here is my work item definition:
import org.drools.process.core.datatype.impl.type.ObjectDataType;import
org.drools.process.core.datatype.impl.type.StringDataType;
[
[ "name" : "MyTask", "parameters" : [
"MyFirstParam" : new StringDataType(), "MySecondParam" : new
StringDataType(), "MyThirdParam" : new ObjectDataType() ],
"results" : [ "Result" : new ObjectDataType() ],
"displayName" : "My Task", "icon" : "", ]
]
Looking at the server.log file of JBoss ESB I can see drools-guvnor loading the custom
work item definition, and I am able to build my package in drools guvnor
2013-05-29 18:20:49,120 INFO com.intalio.web.preprocessing.impl.JbpmPreprocessingUnit
com.intalio.web.preprocessing.impl.JbpmPreprocessingUnit (http-127.0.0.1-8080-1) Created
file:/opt/jboss-soa-p-5/jboss-as/server/all/tmp/4st5t49-27ns8v-hha869gx-1-hha88mdt-c7/designer.war/stencilsets/bpmn2.0jbpm/view/activity/workitems/Log.svg
2013-05-29 18:20:49,121 INFO com.intalio.web.preprocessing.impl.JbpmPreprocessingUnit
com.intalio.web.preprocessing.impl.JbpmPreprocessingUnit (http-127.0.0.1-8080-1) Created
file:/opt/jboss-soa-p-5/jboss-as/server/all/tmp/4st5t49-27ns8v-hha869gx-1-hha88mdt-c7/designer.war/stencilsets/bpmn2.0jbpm/view/activity/workitems/Email.svg
2013-05-29 18:20:49,122 INFO com.intalio.web.preprocessing.impl.JbpmPreprocessingUnit
com.intalio.web.preprocessing.impl.JbpmPreprocessingUnit (http-127.0.0.1-8080-1) Created
file:/opt/jboss-soa-p-5/jboss-as/server/all/tmp/4st5t49-27ns8v-hha869gx-1-hha88mdt-c7/designer.war/stencilsets/bpmn2.0jbpm/view/activity/workitems/MyTask.svg
Does anyone have any ideas about why the designer is getting stuck in the "Please
Wait Loading" Screen?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/820047#820047]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]