[jboss-user] [JBoss jBPM] - How to access process variables?

dabd do-not-reply at jboss.com
Tue Jun 19 04:57:29 EDT 2007


I defined an action handler
that tries to access a process variable like this:
Integer quant = (Integer) executionContext.getContextInstance().getVariable("quant");

But I get a null pointer exception. 

 The variable "quant" was defined in the Form Controller of the process designer and I generated the form with the same tool.

What am I missing?

Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055507#4055507

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055507



More information about the jboss-user mailing list