[jboss-user] [jBPM] - Re: passing objects between tasks

Demian Calcaprina do-not-reply at jboss.com
Tue Jul 12 20:02:42 EDT 2011


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110712/78f56476/attachment.html 


More information about the jboss-user mailing list