I tried a conditional action in a dynamic generated pageview.
The button should bring you to the next page as long as there are items in the collection of the firestore database.
When the last item in the collection is reached, it should bring you to another page.
As long as I'm tapping through the questionaire everything is fine and I receive the next question and can adequately answer.
When I reach the last question, I I'm not redirected to the homebase.
It stays at the last pageview.
What is even more confusing: When I remove the Backend Call on the "TRUE" site, then it works and navigates me, where I want to go.
Even if I configured the same Backend Calls on both sites?!
I don't get it and I don't understand the error code:
Error: RangeError (index): Index out of range: index should be less than 3: 3
But I configured "Num List Items" == "QuestionID"
In my case it is 3 == 3
Which for me, the condition is met. Why error then?
UPDATE:
I also tested now following:
I thought, that it has something to do with the situation that the index is calculated with a count starting from 0 instead of 1.
So I did a condition based on a code expression which took the num list items and counted +1.
Still I receive the same error.
Also I switched around and took the QuestionID -1.
Still the same.