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 list rows valu...
Copilot Studio
Answered

Passing list rows values as choice to Power Virtual Agents from Power Automate

(0) ShareShare
ReportReport
Posted on by 325

Hi,

 

I have a Power Automate flow which list rows in a Dataverse table and then appends the results of the list rows step to a string variable.

 

If I wanted to then pass each one of those items as a choice back to the user, is this possible?

 

Thanks,

  • Verified answer
    CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @Monkeyman ,

     

    Unfortunately, not yet.

    We have many ideas here: https://aka.ms/pva/community/ideas 

     

    You can set up an output using Markdown, then show a formatted list in the bot message.

    (I recommend you to show this variable in a free text question, and the user type the option manually)

  • darylvogan Profile Picture
    274 on at

    Is this yet a feature? Would love to return data back to PVA and have it present list of options to select from

  • HenryJammes Profile Picture
    Microsoft Employee on at

    Yes, this is a feature now @darylvogan 

     

    Simply return the JSON as a string from Power Automate, use the Parse Value node to make it a table variable, and use the table as options from a list table in your question.

    It works with no additional work if one of your property is defined as DisplayName:

     

     

    HenryJammes_2-1686237875922.png

     

    The bonus is that if your table has a DisplayName property, the selected value will be saved as record.

     

    HenryJammes_3-1686237901501.png

     

    Otherwise, use this formula to define the question options:

    ForAll(Topic.VarTable, DisplayName)

    HenryJammes_4-1686238046511.png

     

    And the output will be saved as a text string.

     

     

     

  • himanshu_23 Profile Picture
    2 on at

    Hi 

    ,

     

    I am getting below error there is an error; "MissingDisplayName". however i am getting proper output

    button getting generated but when it is not able to Delpy a solution

     

    himanshu_23_0-1688473762403.png

     

  • gsouthwood Profile Picture
    2 on at

    Hi, @HenryJammes,


    Did you get a solution to the above as I am also experiencing the exact same issue.

     

    Thanks,

     

    Graeme 

  • EricW Profile Picture
    11 on at

    pvaEditSchema.png

    I'm getting the same error that the DisplayName is missing because I'm unable to define the schema. No matter how I try to define it, it either throws an exception, or simple vanishes when I save it. How do I define the schema for my array of objects?
    Sample:
    {
    "id": 30755950,
    "address1": "addr 1",
    "address2": "Suite 300",
    "diplayName": "Test Name 1"
    },
    {
    "id": 30755951,
    "address1": "addr 1",
    "address2": "addr 2",
    "displayName": "Test Name 2"
    }

    Thanks,

    Eric

  • Audrie101 Profile Picture
    Microsoft Employee on at

    In your schema the first DisplayName is missing the 's':

    AudrieMSFT_0-1709259132935.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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Copilot Studio

#1
Mohsin Ali Profile Picture

Mohsin Ali 520

#2
M Bilal Khan Profile Picture

M Bilal Khan 287

#3
11manish Profile Picture

11manish 247 Super User 2026 Season 2

Last 30 days Overall leaderboard