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
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>