[jboss-user] [JBoss jBPM] - Re: Starting a Process Through API

salaboy21 do-not-reply at jboss.com
Wed Oct 29 08:27:27 EDT 2008

Yes, it is possible.
When you create a new ProcessInstance object the process not begin inmediately..
You can put your variables and then signal it to start.
Something like this:

  | ProcessInstance pi=JbpmContext.newProcessInstance("processname");
  | pi.getContextInstance().setVariable("var1", new Integer(1));
  | pi.signal(); -> this will start your process..

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

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

More information about the jboss-user mailing list