Arun V G [
https://community.jboss.org/people/arunvg] created the discussion
"Re: Adding new workitems programmatically, without repacking the application
?"
To view the discussion, visit:
https://community.jboss.org/message/717348#717348
--------------------------------------------------------------
Thank you for the reply ..
I could register the workitemhandler and the confusion was about the work item
definition.
So Let me confirm what I understood about the work definition.
A work definition for example ,
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"
]
]
Is just a template used by the editor to show the properties of a domain specific task.
Internally workdefintion is used to map the parameters, results to the BPMN format. As
BPMN format is used by the processing engine, It doesn't want a reference to the work
definition .
Am I right ?
Cheers :)
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/717348#717348]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]