[jboss-dev-forums] [Design of JBoss jBPM] - Re: initial nodes

tom.baeyens@jboss.com do-not-reply at jboss.com
Wed Feb 7 11:17:53 EST 2007


Ed,

you can now (with the code in cvs) do something like this:

<process-definition name="door" initial="generatePdf">
  | 
  |    <node name="generatePdf">
  |       <action class="your.class.that.GeneratesAPdfFile">
  |       <transition to="next" />
  |    </state>
  | 
  |    <state name="next">
  |    ...
  | 

so when you then do a new ProcessInstance(processDefinition),
execution of the GeneratesAPdfFile will be done already in that constructor.

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

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



More information about the jboss-dev-forums mailing list