[jboss-user] [JBoss jBPM] - Re: Example uses superstate

koen.aers@jboss.com do-not-reply at jboss.com
Wed Jan 10 04:54:20 EST 2007


A superstate is a simple grouping of nodes which provides:
- semantic meaning because analists can group together nodes that belong together logically as in a particular 'phase' of a process
- syntactic meaning because eventhandlers for all the nodes within the superstate can be defined on the level of the superstate (e.g. a node-enter event handler defined on the level of the superstate will be executed when entering every node inside the superstate)
You can refer to nodes in superstates by prefixing them with the name of the enclosing superstate (e.g. 'phase one/invite murphy' or if you are inside phase two '../phase one/invite murphy)
The difference with process states is that the nodes composing a superstate are not necessarily a reusable process on their own. 

Hope this helps,
Koen

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

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



More information about the jboss-user mailing list