[jboss-user] [jBPM] - Re: Adding new workitems programmatically, without repacking the application ?
Arun V G
do-not-reply at jboss.com
Thu Feb 16 08:10:23 EST 2012
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/717137#717137
--------------------------------------------------------------
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
[https://community.jboss.org/message/717137#717137]
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/20120216/4c8f0499/attachment.html
More information about the jboss-user
mailing list