[jboss-user] [jBPM] - Registering WorkItemHandler for bpmn:Task

Jett Gamboa do-not-reply at jboss.com
Tue Jun 5 04:14:45 EDT 2012


Jett Gamboa [https://community.jboss.org/people/jett] created the discussion

"Registering WorkItemHandler for bpmn:Task"

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

--------------------------------------------------------------
>From several samples that I've looked at, it is possible to register a handler to Human Tasks and Service Tasks by calling registerWorkItemHandler and passing the handler.

For Human Tasks it's, registerWorkItemHandler("Human Task", humantaskworkitemhandlergoeshere)
For Service Tasks it's, registerWorkItemHandler("Service Task", servicetaskworkitemhandlergoeshere)

Is it possible to assign a generic handler to a bpmn2:Task node? I tried registerWorkItemHandler("Task" ...  but it does not work. The only way I can get it to work is if I pass along the tasks Id.

Is there a way add a generic handler to generic nodes of a particular type?
--------------------------------------------------------------

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

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/20120605/7a65ace7/attachment.html 


More information about the jboss-user mailing list