Cannot move to the next step in the waterfall dialog after using an adaptive card as a prompt

Mironova Irina, FG-450 1 Reputation point
2022-03-15T09:13:13.887+00:00

If I use an adaptive card as a prompt in the waterfall model, I cannot move to the next step.

In the adaptive card I have two Choicesets and an Action.Submit button:
{
"type": "Input.ChoiceSet",
"id": "Derivative",
"choices": [],
"placeholder": "Derivative",
"spacing": "Medium",
"separator": true,
"dialog": "findKPI"
},
{
"type": "Input.ChoiceSet",
"id": "Hybridtype",
"choices": [],
"placeholder": "Derivative",
"spacing": "Medium",
"separator": true,
"dialog": "findKPI"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"data": {
"dialog": "findKPI",
"action": "inputParam"
}
}

The prompt is defined as a text prompt because I cannot find AdaptiveCardPrompt in the API.

this.addDialog(new TextPrompt(this.initialDialogId + 'derivatives'));

            return await sc.prompt(this.initialDialogId+'derivatives', {
                prompt: await this.responder.renderTemplate(
                    sc.context,
                    FindKPIResponses.responseIds.derivatives,
                    <string> sc.context.activity.locale,
                    {
                        'derivatives': derivatives
                    }
                )
            });

After this step, the chatbot stops and doesn't go to the next step. Is there any way to deal with it?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
807 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mironova Irina, FG-450 1 Reputation point
    2022-03-17T07:25:01.45+00:00

    Thanks. I created an issue there. Hier is the reference for the ones who follows the issue:
    https://github.com/microsoft/botframework-sdk/issues/6491

    0 comments No comments