Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-06-19


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.