I would like to go to the previous page and have it repeat what the agent said in that page. I thought you could do it with the symbolic page of transitions:
https://cloud.google.com/dialogflow/cx/docs/concept/handler#symbolic
In the documentation it says the following: “The page state from the previous page will be restored after transition.” Wouldn’t this mean that it will restart and go through the “agent says” section of the fulfillment? I have tested this and it does not actually go through the entry fulfillment:
Here is the transition that is going to the previous page (Test):
I have tested this and it does not repeat what the agent says in the “Test Page”:
As you can see in the red it will go back to the “Test Page” but it will not repeat and go through the agent says of the entry fulfillment.
Hi @karl-gardner you have to think about transitions like if it was a stack. when you go back, if the page was used already, it will keep the state.
Best,
Xavi
Hello @xavidop ,
Ok sure, but even if it were a stack and it keeps the previous state isn’t this statement incorrect in the documentation of the PREVIOUS_PAGE symbolic transition (link below):
“The page state from the previous page will be restored after transition.”
https://cloud.google.com/dialogflow/cx/docs/concept/handler#symbolic
I understand that statement as the state will be restored as it was when the user was in that page
Interesting @xavidop now that I am thinking about it that makes more sense! I was interpreting that statement as the page state (meaning initial state) would be restored so it would start over. Guess your interpretation is right though. Thanks again!