This content has been marked as final.
Show 2 replies
-
1. Re: Node events not getting fired?
arjakki Sep 11, 2006 2:43 PM (in response to jmjava)Hi ,
Just want to know what is action1 in the action tag. I think you need to have some Class that implements ActionHandler , which get's called when leaving the start-state node
jbpmproto.EmailNotificationAction
|
e.g.
jbpmproto.EmailNotificationAction
In this case MyActionHandler gets executed when leaving a node.
Thanks
arjakki -
2. Re: Node events not getting fired?
jmjava Sep 11, 2006 2:50 PM (in response to jmjava)i do have a class i just was not pointing to it :)
<start-state name="create new web sale order"> <task swimlane="buyer"> <controller> <variable name="item"/> <variable name="quantity"/> <variable name="address"/> </controller> </task> <event type="node-leave"> <script> System.out.println("Event was fired to node-leave on create new web sale order"); </script> <action class="jbpmproto.EmailNotificationAction" name="action1"></action> </event> <transition name="Save and Forward to Salesman" to="evaluate web order" /> </start-state>