Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

How to send Adaptive Card submit form data to parent Bot/Dialog

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
I have tried to add Dialog in Bot Framework composer to show an Adaptive Card Submit form and added dialog.reesult output variables. But, in the parent Bot Im unable to access those output variables , When I try to save the parent bot with child dialog output variables , the output variables disappear.
Can someone please help in getting child dialog Adaptive Card submit form data/variables back to parent bot , so that I can use those variables in further steps in the Parent Bot?
  • SupportBryn Profile Picture
    Microsoft Employee on at
    Re: How to send Adaptive Card submit form data to parent Bot/Dialog

    This documentation should guide you through it: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support 

     

    Thank you for using Microsoft Power Platform Communities!
    Bryn Baker
    Support Engineer
    Microsoft Power Platform
    If this post helps, then please consider accepting it as the solution to help other members find it more quickly! Have a great day!

  • kacham Profile Picture
    Microsoft Employee on at
    Re: How to send Adaptive Card submit form data to parent Bot/Dialog

    The above 2 didnt solve the issue. Can you please provide me with the link to create support ticket ?

  • SupportBryn Profile Picture
    Microsoft Employee on at
    Re: How to send Adaptive Card submit form data to parent Bot/Dialog

    I am in all day training at the moment, so Teams calls are not really on the table for me, unfortunately. I'm wondering if when the PVA Bot tries to test the output of the Bot Framework Bot, it's not receiving anything, and that's why the output is disappearing. The two things that catch my attention regarding that are that there is a space after the = in "user.reason :  = turn.activity.value.reason", which I am unsure if that may be negatively impacting the expression, and you are making the output a String, which I'm not sure if the reason option on the Adaptive Card maps 1:1 with. I can't say whether either of those is directly the problem, or if the latter is even a problem at all, but if you fix the former and the latter is either fine as is, or can be adjusted, but it continues to not work, it may be worth opening up a Support Ticket in some capacity. 

     

    Thank you for using Microsoft Power Platform Communities!
    Bryn Baker
    Support Engineer
    Microsoft Power Platform
    If this post helps, then please consider accepting it as the solution to help other members find it more quickly! Have a great day!

  • kacham Profile Picture
    Microsoft Employee on at
    Re: How to send Adaptive Card submit form data to parent Bot/Dialog

    Thanks for the response ,  Screen shots below . I prefer a Teams call , so that we have more clarity and it helps you to take lesser time to help me. 

    1.  PVA Bot  where the child dialog called as 'TestDialog' is called using the Redirect to other Topic option: 
    After doing publish in Bot Framework composer , I can see output variable  (reason1) of child dialog and added it in the next step : 

    kacham_2-1652244449824.png

    2. When I click on Save of the PVA Bot Topic , the output variable diappears and shown as unknown variable where it is referred: 

    kacham_3-1652244580897.png

     

     

    2. TestDialog is my child dialog that I added in the Bot Framework composer:  In this dialog I have one trigger and added Adaptive Card with Submit Action . 

    kacham_0-1652244175072.png

    3. TestDialog output property is added:

    kacham_1-1652244281224.png

    screen shot of Adaptive card Im using : 

    kacham_4-1652245062464.png

     

  • SupportBryn Profile Picture
    Microsoft Employee on at
    Re: How to send Adaptive Card submit form data to parent Bot/Dialog

    Hey there @kacham,

     

    I'm looking into this, but would you mind sharing some screenshots for me? In particular, I'd like to see how you have the topics set up in both PVA and in Bot Framework Composer. Without some more information, it will be hard to say exactly what's going on.

     

    Thank you for using Microsoft Power Platform Communities!
    Bryn Baker
    Support Engineer
    Microsoft Power Platform
    If this post helps, then please consider accepting it as the solution to help other members find it more quickly! Have a great day!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
stampcoin Profile Picture

stampcoin 8

#2
Artur Stepniak Profile Picture

Artur Stepniak 5 Super User 2025 Season 1

#3
Ekta Gupta Profile Picture

Ekta Gupta 4

Overall leaderboard