In order to do that, it would be real easy to add an Operation to the
esb.util.jbpm.CommandVehicle class (plus the code to handle it in the
listeners.actions.jbpm.CommandInterpreter), that will return the full JbpmContext in the
user object (setUserObject(XXX) method).
Nevertheless, there is already an operation there that will return a list of variables
(or all variables if no list of names is specified) either from the contextInstance, or
from the Token.
Please see how listeners.actions.CommandInterpreter handles the
getProcessInstanceVariables and getTokenVariables operations.
If we use these, would there still be the need to get the full context in the message ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019091#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...