|
From: lfaggioli <do-...@jb...> - 2006-05-02 22:10:58
|
You can do it in an Action: override the execute() method, for example like this
|
| import org.jbpm.graph.def.Action;
| import org.jbpm.graph.exe.ExecutionContext;
|
| public class MyAction extends Action {
|
| public void execute(ExecutionContext executionContext) throws Exception {
|
|
| String aVariable = (String) executionContext.getVariable("aVariable");
|
| //do something
|
|
| executionContext.leaveNode();
| }
| }
|
|
The ExecutionContext class has a setVariable() method too.
bye
luca
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940833#3940833
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940833
|