Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can also create an intent with a state of AnyState, which means no matter where in the flow the user currently is (that is, no matter the state), this intent will fire. If and only when the last Say node does not have the check box “Disable Any State Check for Next Request” checked.

...

For example, you can use AnyState in a scenario in which the voice/chat application lets a user pick from a list of menu options. You can create intents for the available options with the state set to whatever the user chooses, plus an intent with the state set to AnyState that returns the user to the Main Menu.

Another example is to create a CancelIntent with the state set to AnyState that lets a user get out of whatever flow they are in and start over.Some intent but one intent has the state “AnyState”, the other has the State “Survey”

If you create an intent with a state of AnyState, and the same intent with the State “Survey”

...