9.2.6. Pageflow composition
It is possible to compose pageflows so that one pageflow pauses while another pageflow executes. The
<process-state>
node pauses the outer pageflow, and begins execution of a named pageflow:
<process-state name="cheat"> <sub-process name="cheat"/> <transition to="displayGuess"/> </process-state>
The inner flow begins executing at a
<start-state>
node. When it reaches an <end-state>
node, execution of the inner flow ends, and execution of the outer flow resumes with the transition defined by the <process-state>
element.