Skip to main content

Sort of data stored in the list

Power Automate Desktop calls a variable that can store multiple values.

This time, I will explain how to change the data stored in the list.

Implemented with copy and paste

Copy the following code and paste it on the edit screen of Power Automate Desktop to add the target action.

Variables.CreateNewList List=> List
Variables.AddItemToList Item: 3 List: List NewList=> List
Variables.AddItemToList Item: 1 List: List NewList=> List
Variables.AddItemToList Item: 2 List: List NewList=> List
Variables.SortList.SortList List: List SortedList=> List

Power Automate Desktop is implemented

  1. Enter "Sorting list" from "Action Search".
  2. By selecting the list you want to arrange, you can arrange the data stored in the target list.

I can get up an error

There is no error that is thrown by this action, so there is no need for error response.

Make the list in reverse order

Implemented with copy and paste

Copy the following code and paste it on the edit screen of Power Automate Desktop to add the target action.

Variables.CreateNewList List=> List
Variables.AddItemToList Item: 3 List: List NewList=> List
Variables.AddItemToList Item: 1 List: List NewList=> List
Variables.AddItemToList Item: 2 List: List NewList=> List
Variables.ReverseList List: List ReversedList=> List

Power Automate Desktop is implemented

  1. Enter "Reverse the list" from "Action Search".
  2. By selecting the list you want to change, you can inverse the order of the data stored in the target list.

I can get up an error

There is no error that is thrown by this action, so there is no need for error response.