How do I repeat waterfall steps in Azure Botframework? I want to ask some prompts, and repeat a prompt if needed. How do I repeat steps or start the waterfall from the age prompt?
var waterfallSteps = new WaterfallStep[]
{
InitializeStateStepAsync,
PromptForNameStepAsync,
PromptForAgeStepAsync,
DisplayGreetingStateStepAsync,
PromptForColorStepAsync,
PromptForTypeStepAsync,
ShoppingstepAsync,
firststepAsync,
secondstepAsync,
};
AddDialog(new WaterfallDialog(ProfileDialog, waterfallSteps));
AddDialog(new TextPrompt(NamePrompt, ValidateName));
AddDialog(new TextPrompt(AgePrompt, ValidateAge));
AddDialog(new TextPrompt(ColorPrompt, ValidateColor));
AddDialog(new TextPrompt(type_ofPrompt, ValidateType));
AddDialog(new ChoicePrompt(Choice));