Hi,
most likely the scope of the script variables is destroyed after the script  is 
terminated, i guess you have to store the variables in the process instance 
somehow and then access them in the execute() method of the action with 
something like (not tested):


  | public void execute(ExecutionContext executionContext) throws Exception {
  |   ContextInstance contextInstance = executionContext.getContextInstance();
  |   Token token = executionContext.getToken();
  |   Object element = contextInstance.getVariable("myVar", token);
  |   [...]
  | 

there is also a nice proxy class for having spring configured actions in jBPM 
at:
https://springmodules.dev.java.net/docs/reference/0.8/html/jbpm31.html#d0e5105

HTH
Michael[/url]

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119548#4119548

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119548
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to