web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Passing array to bot f...
Copilot Studio
Answered

Passing array to bot framework composer from PVA

(0) ShareShare
ReportReport
Posted on by 71

Hello,

 

I am working on pva > flow > office365 > passing outputs back to pva > importing to bot framework composer > parse that into an adaptive card carousel.

 

Here is the flow (it's returning: body('Search_for_users_(V2)')?['body'])

nk1ng_0-1626381864514.png

 

Here is the topic running (see the json like bot.return):

nk1ng_1-1626382362796.png

which is a success - fyi.

however when it hits the framework:

nk1ng_2-1626382827360.png

The 'return' is not a collection or structure object to run foreach?  

nk1ng_3-1626382996825.png

nk1ng_4-1626383067275.png

 

I guess I am not sure how to pass an array to the composer?  

 

Let me know if this is not the right form for this question or you need more info.  Thank you!

-n

 

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,876 Most Valuable Professional on at

    Hi @nk1ng,

     

    Just to double check. You found the solution yourself in this thread, correct?

    https://powerusers.microsoft.com/t5/General/how-to-get-user-value-back-to-PVA-from-Bot-Framework-Composer/m-p/1209034#M2535

     

  • Verified answer
    nk1ng Profile Picture
    71 on at

    yep, just needed some casting on composer side 😉

    nk1ng_0-1631539858434.png

     



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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 267

#2
Vish WR Profile Picture

Vish WR 163

#3
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 153 Super User 2026 Season 1

Last 30 days Overall leaderboard