[jboss-user] [JBoss jBPM] - Passing Parameters to Generic Actions

leetcooper do-not-reply at jboss.com
Thu Jul 27 06:32:34 EDT 2006

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

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

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

More information about the jboss-user mailing list