You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to trigger a task module from inside the onSubmitAction function (implemented from IMessagingExtensionMiddlewareProcessor) but it will always fail with an error. I trigger this from the command bar (this is the important bit)
I found that MessagingExtensionMiddleware.onTurn will always return the response of the onSubmitAction as the value of a composeExtension property which can be seen here:
If I change the composeExtension to task then it works fine.
Am I doing something wrong or is there no way to call another task module? Here is a cutdown of my code (this code would work if I done the above change of updating composeExtension to task)
I was trying to trigger a task module from inside the onSubmitAction function (implemented from IMessagingExtensionMiddlewareProcessor) but it will always fail with an error. I trigger this from the command bar (this is the important bit)
I found that
MessagingExtensionMiddleware.onTurn
will always return the response of theonSubmitAction
as the value of acomposeExtension
property which can be seen here:index - line 267
If I change the
composeExtension
totask
then it works fine.Am I doing something wrong or is there no way to call another task module? Here is a cutdown of my code (this code would work if I done the above change of updating
composeExtension
totask
)The text was updated successfully, but these errors were encountered: