botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

I cant call my formflow from my rootdialog.cs

Open stelazh opened this issue 9 years ago • 3 comments

Exception: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = IMessageActivity (DelegateActivator), Services = [Microsoft.Bot.Connector.IMessageActivity, Microsoft.Bot.Connector.IActivity], Lifetime = Autofac.Core.Lifetime.MatchingScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope —> A delegate registered to create instances of ‘Microsoft.Bot.Connector.IMessageActivity’ returned null. (See inner exception for details.)

For more details please see my question here : http://stackoverflow.com/questions/42298992/how-to-call-formflow-after-user-choose-an-option-from-quickreply-in-chatbot/42301409#42301409

stelazh avatar Feb 17 '17 15:02 stelazh

You need to use IDialogStack.Call to invoke a child FormFlow dialog - Conversation.SendAsync is just the single entry point into the builder's dialog code.

willportnoy avatar Feb 22 '17 16:02 willportnoy

thank you for your reply...now i have onother problem

http://stackoverflow.com/questions/42390985/how-to-call-another-method-after-processorder-completed-in-chatbot-using-formflo\

i am searching about it all the day and still without any solutioin

Could you please help me

stelazh avatar Feb 22 '17 16:02 stelazh

It looks like you got an answer on Stack Overflow for your question, so I'm going to close this issue for now.

willportnoy avatar Feb 25 '17 00:02 willportnoy