[jboss-user] [jBPM] - passing data to nodes

Darryl Youngblood do-not-reply at jboss.com
Mon Sep 5 10:53:18 EDT 2011

Darryl Youngblood [http://community.jboss.org/people/d.y.] created the discussion

"passing data to nodes"

To view the discussion, visit: http://community.jboss.org/message/624808#624808

Hey guys,

I'm not sure if I got it right. So far i believe there are two ways to pass information to other nodes.

1. In the executeWorkItem method of a custom workItemHandler class I can put information in a map and use WorkItemManager.completeWorkItem(workItemId, Map<String, Object>); to pass the information to the next node.

2. I could use globals to store information inside

Is this right or am I wrong?

The problems I encounter are:

1. I don't know how to retrieve that map from that workItemManager especially when the next node is a gateway

2. When I use globals it is always stored as Object which is kinda unhandy

ty in advance

Reply to this message by going to Community

Start a new discussion in jBPM at Community

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

More information about the jboss-user mailing list