1 Reply Latest reply on Feb 8, 2008 5:21 AM by francis1970

    Passing a parameter to an Action

    francis1970

      Hello!
      I need to create a Custom Node which invokes a Stored Procedure. The Node needs a static parameter in input. (the stored procedure name)
      How do I pass it to the node from processDefinition.xml ?




      <!-- I need to pass the procedure name to ProcedureExecutor -->







      Which is the best way to pass a parameter to the action (writing it in the xml file - not from the code) ? I can see in the schema of action tag there's no way to pass a parameter......

      Thanks for your help
      Francesco

        • 1. Re: Passing a parameter to an Action
          francis1970

          sorry, I forgot to mark the xml with "Code"

          <node name="node1">
           <event type="node-enter">
          
           <!-- I need to pass the procedure name to ProcedureExecutor -->
          
           <action name="action1" class="com.sample.action.ProcedureExecutor">
          
           </action>
           </event>
          </node>