Results 1 to 2 of 2

Thread: Return to previous state after subflow finish

  1. #1

    Default 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!

  2. #2
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    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
  •