Forum Discussion
Send details from adaptive card to task module
In this interface, there is no variable to add json object, which I can send to the dialog.
Without using this interface for taskInfo, if I do this
How to catch the testData in the dialog?
1. Include an Action.Submit action in your adaptive card JSON and place the information you want to pass within the data property of the action. In your bot's code, implement handleTeamsTaskModuleFetch function. This function will be called when the user interacts with the adaptive card. Extract the necessary information from the data property sent with the invoke request. 2. Respond to the invoke request with a task module dialog that includes the information from the adaptive card. The user can then interact with the task module dialog, and upon submission, the information is sent back to the bot for processing.