We are using something like this: | <process-definition name="your_definition"> | <start-state name="start"> | <event type="node-leave"> | <action name="init_vars" class="your_package.YourVaribleAssigmentHandler" config-type="configuration-property"> | <variables> | <variable name="var1">value1</variable> | <variable name="var2">value2</variable> | ... | </variables> | </action> | </event> | <transition name="tr" to="next_state"></transition> | </start-state> | ... |
"configuration-property" usage is due to we are using jdom instead of dom4j. After signalling the process instance, you haven't to "pi.getContextInstance().addVariables()", they already are into the process. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932360#3932360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932360 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user