[jboss-user] [jBPM] - Re: Adding new workitems programmatically, without repacking the application ?
Minh Hoang TO
do-not-reply at jboss.com
Mon Jun 17 05:53:33 EDT 2013
Minh Hoang TO [https://community.jboss.org/people/hoang_to] created the discussion
"Re: Adding new workitems programmatically, without repacking the application ?"
To view the discussion, visit: https://community.jboss.org/message/823421#823421
--------------------------------------------------------------
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"
]
]
The engine has no interests on item definitions, but the info that you passed to item definitions is available in BPMN (generated by web-based/ide-based editors). As far as i see, the key used to register WorkItemHandler must identical to the value in "name" field.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/823421#823421]
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/20130617/3d0abbe5/attachment.html
More information about the jboss-user
mailing list