it-student [http://community.jboss.org/people/it-student] created the discussion

"Re: Work with complex process variable"

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

--------------------------------------------------------------
Thank you. Works better but (there is a but) in the begin of my process (and 
before my firts human task) I've create a  script task :

project = new Project(); 
project.setName("It works!");
 
map = new java.util.HashMap();
map.put("projectName", project.getName());
 
kcontext.setVariable("map", map);
kcontext.setVariable("project", project);


I get a RuntimeException in the line :

kcontext.setVariable("project", project);


Do you have an idea why ?

Greetings

IT-Student
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/610637#610637]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to