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

Dinamic List Name when I Use Get Item

 

I have a stream where I need to select a list dynamically. My difficulty is that the columns in the list do not appear when I put your name dynamically.
How then do a conditional action if I don't have the column name to put in the condition?
I tried a formula but it didn't work out.

 

flow nome da lista dinamico.PNGflow nome da lista dinamico2.PNG

2 REPLIES 2
Gristy
Resident Rockstar
Resident Rockstar

Does the flow actually run?

 

If so take the output of the action, and insert into a Parse JSON object, and then use the dynamic variables from that.

 

If the flow does not run you will need to do the query via Send HTTP Request to SharePoint and write the query in json. Then follow the advice to parse JSON object as above.

v-litu-msft
Community Support
Community Support

Hi @flaviasocio,

 

If you are using the Get items action, the output of this action would be an array, if you want to extract property value within it, you should put it in the Apply to each to loop through, then use the expression item()?['propertyName'] instead of item('propertyName'):

Annotation 2019-12-10 143123.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

Top Solution Authors
Top Kudoed Authors
Users online (1,391)