[jboss-user] [jBPM] - Re: Work with complex process variable

it-student do-not-reply at jboss.com
Thu Jun 16 12:33:31 EDT 2011


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]

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


More information about the jboss-user mailing list