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

Confusing Documentation in Dialogflow CX

Hello,

I am trying to understand the evaluation order of a parameter form filling of a particular page. According to the following piece of documentation it says that if no reprompt handler is defined in a parameter form filling then it will just repeat with the initial prompt that was used:

However, in the following piece of documentation it states this as the evaluation order for event handlers:

 

"3. Event handlers are evaluated in this order:

  1. Parameter-level: Event handlers applied to the current page's form parameter that the agent is currently attempting to fill (reprompt handlers), in the order supplied.
  2. Page-level: Event handlers applied to the current page, in the order supplied.
  3. Flow-level: Event handlers applied to the active flow, in the order supplied."

    Thus, it's stating that first the parameter-level event handler will be called, then the page-level, then the flow-level event handler defined in the start page. This is different from the documentation piece stated earlier that states that if no reprompt event handler is defined it will repeat itself. This documentation is saying that it will go back to page-level and then flow-level. Essentially, I am trying to use a flow-level event handler defined in the no-match-default event handler in the start page but when current form parameter is being filled it just repeats itself. Does anyone understand those two pieces of documentation?
0 6 1,374
6 REPLIES 6