BotFramework避免在FormFlow中进行确认 [英] BotFramework Avoid Confirmation in FormFlow

查看:66
本文介绍了BotFramework避免在FormFlow中进行确认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想绕过像这样定义的表单流中的最后一个确认步骤

I want to bypass the last confirmation step in a formflow which is defined like this

new FormBuilder<WizardResult>()
                .Confirm("No verification will be shown", state => false)
                .Message("Form Test")
                .OnCompletion(processOrder)
                .Build();

根据此发布,可以使用处理程序来确认,但就我而言,仍然需要确认...

According to this post this could be done with the handler in confirm, but in my case the confirmation is still asked...

我想念什么?

推荐答案

您只需调用它的3.3.1.0版本

It version 3.3.1.0 you only need to call

.AddRemainingFields()

在FormBuilder中避免确认. state => false不再需要.

in the FormBuilder to avoid the confirmation. The state=> false is not required any more.

这篇关于BotFramework避免在FormFlow中进行确认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆