[jboss-user] [JBoss jBPM] - Re: task-create event

twiceknightly do-not-reply at jboss.com
Tue Feb 12 11:19:15 EST 2008


Sorry here is the code for the action ...


  | public class SetupSuspiciousTransaction implements ActionHandler{
  | 	
  | 	public void execute(ExecutionContext executionContext){
  | 
  | 	    ContextInstance instance = executionContext.getContextInstance() ;
  | 	    instance.setVariable("id","1") ;
  | 	    instance.setVariable("transaction value","test transaction value") ;
  | 	    instance.setVariable("account number","test account number") ;
  | 	    instance.setVariable("notes","test notes") ;
  | 	    instance.setVariable("transaction status","test transaction status") ;
  | 	}
  | 
  | }
  | 
  | 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128837



More information about the jboss-user mailing list