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

Data Operations - Select changing order of the keys

Hello all,

 

I've been having a weird issue with my Flow. I am using a Select data operation to select some columns with dynamic expressions in the keys. As a result the select operation is changing the order of the keys and this is affecting my HTML table. 

 

In the example below, the first key is being processed last. Not sure if this a bug or is there a way to fix the order. Any thoughts? I tried to create dummy expressions on all keys so it would take similar processing time for all of them but not sure if this is the correct way of doing it. Any thoughts?

 

flow issue.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: Data Operations - Select changing order of the keys

Exactly,

It seems to be a bug but it was fixed. What I did was open the JSON view instead of the current UI of the Map part in the Select/Create Table and make sure the entries are in the right order before saving the flow.

 

example.JPG

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Data Operations - Select changing order of the keys

Hi @jeanpro ,

 

Could you share a screenshot of Flow configuration?

I am wondering if you changed the order of the corresponding column when configuring the key in Select.

The order of the column output by this action and the order in which the HTML table fields are displayed are related to the order of the keys you configure.

You could change the order of the columns according to your needs.

Image reference:37.PNG

 

38.PNG

 

39.PNG

 

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: Data Operations - Select changing order of the keys

@v-bacao-msft I think what they are saying is that they did have them arranged according to their needs, but microsoft flow keeps changing the order of the keys on its own.

 

I am having this problem as well, and it's gotten to a point where some flows are unusuable.

Highlighted
Frequent Visitor

Re: Data Operations - Select changing order of the keys

Exactly,

It seems to be a bug but it was fixed. What I did was open the JSON view instead of the current UI of the Map part in the Select/Create Table and make sure the entries are in the right order before saving the flow.

 

example.JPG

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,665)