Results 1 to 3 of 3

Thread: Transitioning to a completely new flow

  1. #1
    Join Date
    Nov 2009
    Location
    Christchurch, New Zealand
    Posts
    14

    Default Transitioning to a completely new flow

    Hi,

    Is it possible to transition to a new flow rather than just a state within the current flow? I realise one way of achieving this would be via a sub flow but that leaves all the resources of the parent flow hanging around when I know I'm not going to need it. It also means the flow name doesn't change in the URL, this is not a biggy but it has some implications for some dynamic content that is dependent on the URL (OK, maybe this could be done a better way!)

    Thanks,

    Dean

  2. #2
    Join Date
    Jun 2009
    Posts
    9

    Default sure with

    Sure, you could do that with flowRedirect. At the end state of your current flow, you redirect users to a new flow. In the example below, I redirect my users to the 'main' flow named 'main.xml'.

    <end-state id="loggedIn" view="flowRedirect:main">
    <attribute name="PRESERVE_MESSAGES"/>
    </end-state>

  3. #3
    Join Date
    Nov 2009
    Location
    Christchurch, New Zealand
    Posts
    14

    Thumbs up

    Excellent, this was exactly what I was looking for, a little surprising it isn't mentioned anywhere in the reference manual though.

    Thanks heaps

    Dean

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •