Multidimensional array
Power Automate Desktop calls a variable that can store multiple values.
The data obtained from Excel etc. is stored in a variable as a multi -dimensional array, but if you want to create this variable from 1, you have to combine multiple actions.
This time, I will explain how to generate multidimensional arrays (arrays) using wrist data.
implemented with copy and paste
This time, as a sample, we have prepared a scenario that generates a list containing an array in the array.
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: 1 List: List NewList=> List
Variables.AddItemToList Item: 2 List: List NewList=> List
Variables.AddItemToList Item: 3 List: List NewList=> List
Variables.CreateNewList List=> List2
Variables.AddItemToList Item: 4 List: List2 NewList=> List2
Variables.AddItemToList Item: 5 List: List2 NewList=> List2
Variables.AddItemToList Item: 6 List: List2 NewList=> List2
Variables.CreateNewList List=> MultiList
Variables.AddItemToList Item: List List: MultiList NewList=> MultiList
Variables.AddItemToList Item: List2 List: MultiList NewList=> MultiList
Operate and implement Power Automate Desktop
From "Search Action", enter "Create a new list" to create a list for multidimensional arrays.
From "Search Action", enter "Add item to list" and set the following parameters.
Parameter name value Addition of item Created list Additional list List defined in 1 When executed, multi -dimensional arrangements are stored in the created variables.
I can get up an error
There is no error that is thrown by this action, so there is no need for error response.