Previous State Graphic Web Stream

Is there an easy way to get the previous status url (or flowExecutionKey) in a Grails web stream? I can get the current flowExecutionKey from the query ['flowExecutionKey'].

Or, alternatively, there is a way to say that you want to go to the previous state in the stream (to expand your path in the graph).

And I do not want to use the standard mechanism:

state1 {
   on("back").to "state1"
}

Because in this way I will move on to the next state (the execution key will increase). Grails Version 1.1.2

+3
source share
1 answer

I solved this with history.back (1), although I first avoided this solution.

, .

+1

Source: https://habr.com/ru/post/1728459/


All Articles