Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Using Input Dialog Variables passed from PVA to Bot Framework Composer

(0) ShareShare
ReportReport
Posted on by 153

Hi there,

 

I'm trying to create a dynamic adaptive card bot which gets an array of values from Power Automate and passes these in as available options on an adaptive card in Bot Framework Composer.

 

I can find lots and lots of examples of passing values from BFC to PVA, but I can't find any examples of PVA to BFC.

I've added an 'input' variable into the dialog interface, but I can't see any way of accessing and using this variable within the code 😞 

hiccup_0-1679302760971.png

My idea was to reference this within the adaptive card so the list of choices would update depending on the array I passed through, but this doesn't work:

hiccup_1-1679302844926.png

Has anyone else managed to achieve something similar or know if this is even possible?

I don't see why we have the option to pass input variables if we can't use them?

 

Thanks!

  • nikviz Profile Picture
    242 on at
    Re: Using Input Dialog Variables passed from PVA to Bot Framework Composer

    Not exactly the same requirement as yours, but I've done something similar to this (https://powerusers.microsoft.com/t5/General/how-to-get-user-value-back-to-PVA-from-Bot-Framework-Composer/m-p/1209034#M2535)

    You need to have your variable in PVA to be created as Global which you would be sending to BFC and you need to set those variable properties as virtualagent.<variable_name>

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

Leaderboard > Copilot Studio - General

#1
Pablo Roldan Profile Picture

Pablo Roldan 49

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 40

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard