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
[
http://community.jboss.org/message/624808#624808]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]