In Azure Bot Framework's WaterfallDialog, how

2020-07-30 02:44发布

问题:

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.