9.2.4. Controlling the flow

Usually, the more powerful features of jPDL are not required when defining pageflows. However, we do require the <decision> node:
<decision name="evaluateGuess" expression="#{numberGuess.correctGuess}">
  <transition name="true" to="win"/>
  <transition name="false" to="evaluateRemainingGuesses"/>
</decision>
A decision is made by evaluating a JSF EL expression within the Seam context.