cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nk1ng
Helper II
Helper II

Passing array to bot framework composer from PVA

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
nk1ng
Helper II
Helper II

yep, just needed some casting on composer side 😉

nk1ng_0-1631539858434.png

 



View solution in original post

2 REPLIES 2
Expiscornovus
Super User
Super User

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-Com...

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


nk1ng
Helper II
Helper II

yep, just needed some casting on composer side 😉

nk1ng_0-1631539858434.png

 



Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Virtual Agents Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Virtual Agents!

Users online (5,208)