BotFramework Avoid Confirmation in FormFlow

2020-02-07 05:18发布

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条回答
该账号已被封号
2楼-- · 2020-02-07 06:16

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.

查看更多
登录 后发表回答