BotFramework Avoid Confirmation in FormFlow

十年热恋 提交于 2019-11-27 08:31:36

问题


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...

what am I missing?


回答1:


It version 3.3.1.0 you only need to call

.AddRemainingFields()

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



来源:https://stackoverflow.com/questions/38830574/botframework-avoid-confirmation-in-formflow

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