Dec 17th, 2009, 02:19 PM
Transitioning to a completely new flow
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!)
Dec 17th, 2009, 02:49 PM
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">
Dec 17th, 2009, 06:55 PM
Excellent, this was exactly what I was looking for, a little surprising it isn't mentioned anywhere in the reference manual though.