JBoss Community

Re: Adding new workitems programmatically, without repacking the application ?

created by Arun V G in jBPM - View the full discussion

Thanks for the very quick reply.

 

Hope you are pointing to the registerWorkItemHandler(String workItemName, WorkItemHandler handler); I am using this to register the handler.

 

Does it means that the workdefinitions like below  has  no meaning in the core engine part and is used only by the editor.

 

import org.drools.process.core.datatype.impl.type.StringDataType;

[

  // the Notification work item

  [

    "name" : "Notification",

    "parameters" : [

      "Message" : new StringDataType(),

      "From" : new StringDataType(),

      "To" : new StringDataType(),

      "Priority" : new StringDataType(),

    ],

    "displayName" : "Notification",

    "icon" : "icons/notification.gif"

  ]

 

]

 

Cheers :)

Reply to this message by going to Community

Start a new discussion in jBPM at Community