Is it possible to go back an iteration in a for each component?
I’m currently using the “For each element in collection” component in my workflow. I want to have the option of going back one iteration. I know that it is logically possible; I just don’t know how to do it in workflow. Here's a brief example of how I want it to work.
Create “N” (variable equal to 0)
Form builder that displays the first element in the array (N=0)
User clicks next (path 1)
Add 1 to N
Form builder displays the second element in the array (N=1)
User clicks BACK (path 2)
Subtract 1 from N
Form builder displays the first element in the array (N=0)
The problem I’m having with this is that I cannot get the “for each component” to use“N” for it's iterations. I need it to display the element of the array who’s numeric position equals “N”. Is there a way that I can do something like that? If not, is there another solution to my problem?