-
Notifications
You must be signed in to change notification settings - Fork 0
Arrays
Brad Cannell edited this page Feb 14, 2023
·
6 revisions
Notes on working with Arrays.
It can be useful, often for testing, to manually create an array. You can do so in an initialize variable step. For the value, type something like:
[
"BMW",
"Ford",
"GMC",
"Mercedes",
"GMC",
"Dodge",
"BMW"
]
Here is a link to a flow you can use to experiment.
Use variables('myArray')[0]
to select the first element of the array named myArray
.
Sorting arrays used to be really difficult and complicated. So far, the method described on this blog seems easy and effective.
sort(variables('myTasksArray'),'createdDateTime')
-
Documentation for planner task properties
setProperty(item(),'dueDateTime',variables('daysDueDiff'))
-
Blog about adding properties
addProperty(item(),'Company','Test')
- Home
- Power Autmate Project Board (cmd + click)
- Development Project Board (cmd + click)
- Style Guide