Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow CX - reset $page.params.status

Hi,

Is it possible to reset the $page.params.status ?
I created a virtual agent that contains more than 1 page for form filling. Each page is like below:

mike_ctint_0-1691636195726.png

After a customer fills in one of the form in a page, he will be directed to a menu page that contains a menu. If "yes" is chosen, the session ends. If "no" is chosen, then it goes back to the beginning of the flow. 

mike_ctint_1-1691636315502.png

The problem I have right now is that when a customer chose "no" from the menu and goes back to the beginning of the flow, it seems "$page.params.status" is still "FINAL". So when the customer goes into another page that requires form filling, Dialogflow will be transferred him directly to the menu page without showing the form. 

How can I make sure that every time whenever the customer enters a page, he will be able to see and fill in the form?

1 5 831
5 REPLIES 5

Hi,

That is managed by dialogflow internally. You should not care about this.

Xavi

Thanks for the reply!
But when the customer chose "no" and entered another page, he could not see the parameter form of the new page. The route "$page.params.status" is triggered right away.

Hi, @mike_ctint .

Did you find any solution for this?


I haven't found a fix to this. 
Still cannot find a way to reset the $page.params.status of another page. For now, the $page.params.status is always staying "FINAL" and cannot find to way to reset it. 

Hello,

In the route "no" did you try to reset your parameter.

You can do this in Parameter presets

Set your parameter TakeAwayCakeForm to null