Demian Calcaprina [
http://community.jboss.org/people/calca] created the discussion
"Re: passing objects between tasks"
To view the discussion, visit:
http://community.jboss.org/message/614791#614791
--------------------------------------------------------------
You have to register the task to the workitem. You can take a look at the user guide:
http://docs.jboss.org/jbpm/v5.1/userguide/ch13.html#d0e3599
http://docs.jboss.org/jbpm/v5.1/userguide/ch13.html#d0e3599
Something like
ksession.getWorkItemManager().registerWorkItemHandler(
"task1", new WorkItemHandler1()
ksession.getWorkItemManager().registerWorkItemHandler(
"task2", new WorkItemHandler2()
Hope it helps,
Demian
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/614791#614791]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]