Unable to get maxPrompts to working
Summary
maxPrompts property doesn't seem to be working in my flow.Content
Hi everyone,
I tried using maxPrompts with System.Text component and expected it to restrict the number of prompts. To my surprise, it didn't work.
Attaching the screenshot and the BotML here. Please suggest changes if any.
BotML:
states:
resetCountry:
component: "System.ResetVariables"
properties:
variableList: "greeting"
transitions:
next: "readCountry"
readCountry:
component: "System.Text"
properties:
variable: "greeting"
prompt: "Please enter your country:"
maxPrompts: 3
transitions:
actions:
cancel: "nomatch"
next: "matchCountry"
matchCountry:
component: "System.MatchEntity"
properties:
sourceVariable: "greeting"
variable: "country"
transitions:
actions:
match: "textOutput"
nomatch: "resetCountry"
textOutput:
component: "System.Output"
properties: