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
Power Virtual Agents News & Announcements

Power Virtual Agents News & Announcements

Keep up to date with current events and community announcements in the Power Virtual Agents community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Virtual Agents Community Blog

Power Virtual Agents Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (6,392)