-
Feb 8th, 2007, 03:04 PM
#1
Return to previous state after subflow finish
How do I return to the previous state in a sub flow execution? If there are multiple entry points to the sub flow, I don't want to have to write separate sub-flow blocks just to return the user back to the parent flow.
Thanks!
-
Feb 8th, 2007, 03:08 PM
#2
Have the state you want to return to put it's id in flowScope using a <set> action on the transition to the subflow-state. Then use a transition in the subflow-state that transitions to="${flowScope.previousState}".
Erwin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules