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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to