cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CharlesHale
Frequent Visitor

Retrieve data from dynamic Key/Value pair

Hi! 

 

I am hoping someone has a solution. I am trying to retrieve information from an object which is created dynamically in the flow based on the choice of a user. They are presented with 1-5 options based on a filter query of a separate list. Each option has unique ID and I am trying to be able to retrieve information from each key/value pair individually to continue the flow. 

 

I can build a string that if entered into an expression would give me the value. But I do not know if there is a way to have the string I build actually retrieve the information. 

 

The VenueID variable is used to create the object and give it a unique key from an Input field. 

 

2021-09-01 17_58_05-Edit your flow _ Power Automate — Mozilla Firefox.png

2021-09-01 17_48_12-Run History _ Power Automate — Mozilla Firefox.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If anyone has any suggestions please let me know. I can also try to explain what I am looking to do more if it isn't clear.

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
ekarim2020
Community Champion
Community Champion

Please enter the string as an expression:

ekarim2020_4-1630538517979.png

ekarim2020_3-1630538389843.png

The expression

 

 

outputs('Compose_10')?[concat('name-',variables('VenueID'))]

 

 

 should produce the following output:

ekarim2020_2-1630538207394.png


Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
ekarim2020
Community Champion
Community Champion

Please enter the string as an expression:

ekarim2020_4-1630538517979.png

ekarim2020_3-1630538389843.png

The expression

 

 

outputs('Compose_10')?[concat('name-',variables('VenueID'))]

 

 

 should produce the following output:

ekarim2020_2-1630538207394.png


Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Thanks! I had been putting the brackets on the inside of the concat() expression right after the '?'. Thanks for the help!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,217)