[jboss-user] [jBPM] - Re: Jbpm 5 user form variables
Kris Verlaenen
do-not-reply at jboss.com
Mon Jan 3 06:44:24 EST 2011
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion
"Re: Jbpm 5 user form variables"
To view the discussion, visit: http://community.jboss.org/message/578126#578126
--------------------------------------------------------------
You could simply create an action (for example using an action node aka script node, or an on-entry / on-exit action on nodes that behave as a wait state), and then use either mvel or java syntax to set your map (example uses Java syntax):
java.util.Map map = new java.util.HashMap();
map.put("variable1", ...);
...
kcontext.setVariable("myMap", map);
Then just map the myMap variable to the Content parameter.
Kris
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578126#578126]
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/20110103/a8551205/attachment-0001.html
More information about the jboss-user
mailing list