[jboss-user] [JBoss jBPM] - Re: signaling to a forked sibling

gnagy do-not-reply at jboss.com
Sat Sep 13 12:47:50 EDT 2008

I think I managed to fire a user-defined event, but i cannot see the effect on the observer branch (the "Firing mail-delivered" message does appear on the console). Does this make sense at all? Can such an event be seen in another branch?

       (party branch)
	[task-node name="waitingforL1"]
		[task name="Waiting for L1" swimlane="ahstaff"][/task]
		[transition to="waitingforsendingL2" name="gotL1"]
			[script]System.out.println("Firing mail-delivered "); executionContext.getTransition().fireEvent("mail-delivered", executionContext);[/script]
	(observer branch)
	[state name="waitingforallL1"]
		[event type="mail-delivered"]
			[action][script]System.out.println("mail-delivered event handled"); node.leave(executionContext);[/script][/action]
		[transition to="nextstep" name="gotallL1"][/transition]


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

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

More information about the jboss-user mailing list