2 Replies Latest reply on Jul 28, 2008 5:05 PM by scanlan

    Pageflow composition

    scanlan

      Is there a way to have an inner pageflow with 2 or more end-state, and when ending this inner flow, to redirect the different endings to different pages in the parent pageflow ?


      I'm looking for a way to do something like this :


      parentFlow.jpdl.xml :


      ...
      <process-state name="node">
           <sub-process name="innerFlow"/>
           <transition name="ok" to="okPage"/>
           <transition name="nok" to="nokPage"/>
      </process-state>
      ...



      and innerFlow.jpdl.xml :


      <start-state name="start" view-id="blabla.jsp" >
           <transition to="beginProcess"/>
      </process-state>
      ...
      <end-state name="ok" />
      <end-state name="nok" />
      ...