could you describe what you tried and what did not work. There are so many examples, testcases and documentation for this that you probably have used all these to achieve your goals.
the above man is ture there are many way cant do this. i just give u a example about how to deal with context in jbpm.
// get tha contextinstance from pi;
ContextInstance contextInstance =
// set var named "amount";
contextInstance.setVariable("amount", new Integer(500));
//get the "amount" var from context;
thanks for replay,
I need to extract a variable from the process which is a primary key of a table and to post contained table (the variable was set by an ather user).
I use an action on a button and not an action on a node .