[jboss-user] [JBoss jBPM] - Re: Variable missing in assignment handler
lpiccoli
do-not-reply at jboss.com
Tue Jul 14 20:22:41 EDT 2009
Further testing reveals that there are NO variables at all available in the Assignment handler.
I am using Jbpm3.2.6
|
| public void assign(Assignable assignable, ExecutionContext executionContext) {
|
| Map<Token, TokenVariableMap> tokenVariableMaps = executionContext.getContextInstance().getTokenVariableMaps();
| assertNotNull("tokenmap shouldnt be null", tokenVariableMaps);
|
|
Q. Since the ExecutionContext has only one method to retrieve variable ExecutionContext.getVariable() which seem to be based on the root token. How can a local variable bound to a token be retrieved from the ExecutionContext?
any help most appreciated.
many thanks
-lp
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243622#4243622
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243622
More information about the jboss-user
mailing list