In Azure Bot Framework's WaterfallDialog, how do we go to a specific step?

末鹿安然 提交于 2019-12-13 12:22:16

问题


In my Azure Bot, I have a GetWeather Dialog with WaterfallDialog. It has 4 steps in WaterfallDialog.

CheckExistLocationStepAsync,
AskLocationAsync,
ConfirmLocationAsync,
ReturnWeatherAsync

I know we can go next step by stepContext.NextAsync, or end the dialog with stepContext.EndDialogAsync.

But, if I want to jump To ReturnWeatherAsync step from CheckExistLocationStepAsync step, how can I do it?

Thanks.

Can't find anything about jumping waterfall step in documentation.

来源:https://stackoverflow.com/questions/56554171/in-azure-bot-frameworks-waterfalldialog-how-do-we-go-to-a-specific-step

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!