Skip to main content

Notifications

Copilot Studio - General
Answered

Passing array to bot framework composer from PVA

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

 

 

  • Verified answer
    nk1ng Profile Picture
    nk1ng 71 on at
    Re: Passing array to bot framework composer from PVA

    yep, just needed some casting on composer side 😉

    nk1ng_0-1631539858434.png

     



  • Expiscornovus Profile Picture
    Expiscornovus 1,708 on at
    Re: Passing array to bot framework composer from PVA

    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

     

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,997

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard