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&...]