3 Replies Latest reply on May 30, 2013 3:06 PM by David Harris

    BPMN2 Designer Stuck loading after adding custom work item definition

    Andrew Tan Newbie

      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.

       

      Desginer Screen.png

       

      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] (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] (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] (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?

       

      I am using JBPM5.2 with drools guvnor 5.3.1 installed in JBoss SOA-P 5.3.1