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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Use dynamic values and...
Power Automate
Unanswered

Use dynamic values and and array type to allow users to select multiple parameters

(0) ShareShare
ReportReport
Posted on by

Hello,

So currently, we have an action that allows users to request one parameter from a drop-down using x-ms-dynamic-values like this:

PowerAutomate7_0-1678296413805.png

We would like to expand it to allow users to select more than one variable. As multiple select on drop-downs is not available my idea was to use type: array and have each item as x-ms-dynamic schema. It seems that the UI and swagger allows to define this:

PowerAutomate7_1-1678296504194.png

 

 parameter:
 x-ms-summary: Variable 123
 required: true
 in: query
 name: parameter
 description: Select a variable from the collection
 x-ms-visibility: important
 type: array
 items:
 type: string
 x-ms-dynamic-values:
 operationId: GetGeoenrichmentParameters
 value-path: id
 value-title: name
 parameters:
 country:
 parameter: country
 datacollection:
 parameter: datacollection

 

(note this code is autogenerated from the wizard)

However, in the flow, this seems to not be working as the fields are not dropdowns.

PowerAutomate7_2-1678296908096.png

 

I tried to manually move the x-ms-dynamic-values under the items but it has the same result.

 

Does anybody know if it is possible to have an array with multiple dynamic values? This is an option in the wizard so it seems to be a bug on PA side.

 

Categories:
I have the same question (0)
  • Stand-wise Profile Picture
    16 on at

    Same issue here on my end.

  • Stand-wise Profile Picture
    16 on at

    Some additional finding for anyone else who's encountering this. It looks like x-ms-dynamic-values is supported for arrays in the "legacy designer" but not the new designer. I'm not sure where we can go to report issues with the new designer tho... 

    Standwise_0-1720334615980.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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard