1 Reply Latest reply on Jul 27, 2006 6:54 AM by kukeltje

    Passing Parameters to Generic Actions

    leetcooper

      I am new to jBPM and for two days I have been looking and running examples but I can not find a solution to my simple problem.

      I want to pass parameters to my Actions. I want to do something like this

      <process-definition>
       <start-state name="start">
       <transition to="s" />
       </start-state>
       <state name="s">
       <event type="node-enter">
       <action class="com.MyHandler">
       <parameter name="para1" value="1" />
       <parameter name="para2" value="2" />
       </action>
       </event>
       <transition to="end" />
       </state>
       <end-state name="end" />
      </process-definition>


      However I can not find any examples or alternative type of solution to this.

      I know that its possible I just can not find an appropriate solution.

      Any help would be much appreciated.

      I do not want a programming solution i.e. 'context.setVariable()' I need a configuration solution if possible.

      Thanks Lee