Franck cdsosi [https://community.jboss.org/people/cdsosi] created the discussion

"Deploying process questions and WorkItemHandlers..."

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

--------------------------------------------------------------
Hi community,

I made a process that runs fine locally inside eclipse. Now I want to deploy it 
so that I can use it remotly for instance with jBPM console. I am using Guvnor 
to deploy the process.

I use some activities : SendTask, ServiceTask, ...

* For Service Task activities I register use the following handler 
org.jbpm.bpmn2.handler.ServiceTaskHandler associated with name "Service Task".

=> ksession.getWorkItemManager().registerWorkItemHandler("ServiceTask", new 
ServiceTaskHandler());

Is there anything particular to do since regarding the use of class 
org.jbpm.bpmn2.handler.ServiceTaskHandler? I mean is "Service Task" type 
activity  automatically associated with class when running the process deployed 
with guvnor?

* For SendTask activies I register a personal WorkItemHandler (let's say 
com.sample.workitems.handler.MyPersonalSendTaskHandler) associated with name 
"Send Task" 

=> ksession.getWorkItemManager().registerWorkItemHandler("Send Task", new 
MyPersonalSendTaskHandler());

What are the steps to override the handler class used for "Send Task" 
activities which is a dummy one?

First question is there a way of overriding since I want to use Service Task in 
my process and not a personal Service Task?

Or do I need to define a personal Service Task associated with my handler 
created as explained is user documentation  
http://docs.jboss.org/jbpm/v5.3/userguide/ch.domain-specific-processes.html#d0e7113
 
http://docs.jboss.org/jbpm/v5.3/userguide/ch.domain-specific-processes.html#d0e7113
 with Notification workitem?

Configuration information :
Using default jBPM 5.3.0Final provided at  
http://sourceforge.net/projects/jbpm/files 
http://sourceforge.net/projects/jbpm/files

Regards
--------------------------------------------------------------

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

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