[jboss-user] [jBPM] - Designer not rendering service tasks correctly when loading a process

Gareth Edwards do-not-reply at jboss.com
Fri Mar 15 11:01:41 EDT 2013


Gareth Edwards [https://community.jboss.org/people/garethed] created the discussion

"Designer not rendering service tasks correctly when loading a process"

To view the discussion, visit: https://community.jboss.org/message/802970#802970

--------------------------------------------------------------
JBPM version: 5.4
Drools Version 5.5.0.Final
Designer 2.4.0.Final

Hi, I have created a very simple customer work item which is just logging the data set in the task.
The service task appears correctly in the servce tasks menu with icon and appears correct when dragged into a process.
I can set it up, save it and it works correctly with my handler being called.  Every thing is fine.

When I load the process to make changes, my service task is visable in the process but does not have an icon and is missing the 'extra' section of the properties.
I cannot make changes to the service task without deleting and re-adding to my workflow.

the definition is:



import org.drools.process.core.datatype.impl.type.StringDataType;
import org.drools.process.core.datatype.impl.type.IntegerDataType;
[
  [
    "name" : "Email",
    "parameters" : [
      "From" : new StringDataType(),
      "To" : new StringDataType(),
      "Subject" : new StringDataType(),
      "Body" : new StringDataType()
    ],
    "displayName" : "Email",
    "icon" : "http://localhost:8080/drools-guvnor/rest/packages/Dev/assets/defaultemailicon/binary"
  ],
  
  [
    "name" : "Log",
    "parameters" : [
      "Message" : new StringDataType()
    ],
    "displayName" : "Log",
    "icon" : "http://localhost:8080/drools-guvnor/rest/packages/Dev/assets/defaultlogicon/binary"
  ],


  [
    "name" : "UpdateWorkflowCurrentTask",
    "parameters" : [
    "taskName" : new StringDataType(),
  "treatmentId" : new IntegerDataType()
    ],


    "displayName" : "Current Workflow Task",
    "icon" : "http://localhost:8080/drools-guvnor/rest/packages/globalArea/assets/dataInDb/binary"
  ]
]




It appears to be some kind of rendering issue.

Any ideas?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/802970#802970]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130315/f25a1481/attachment-0001.html 


More information about the jboss-user mailing list