Hello,
I need some assistance with arrays in Microsoft Flow. I need to be able to store a value into the middle of an array that has already been initialized (cannot use append to array). I understand how to access an element of an array, so this is not my question. I instead do not know how to store a new value into an element without adding the new element to the end!
This is quite simple in normal programming, but I have no idea how I would do this in Flow. Any help would be greatly appreciated.
Solved! Go to Solution.
Hi @Anonymous ,
Do you want to add other elements in the middle of an array?
I am afraid that we are not able to store a new value into an array without adding the new element to the end.
I have made the following test using function union, please check it for a reference.
Function in Compose:
createArray('test1','test2','test3')
Function in Compose2:
union(outputs('Compose'),createArray('test4'))
Best regards,
Mabel
Hi @Anonymous ,
Do you want to add other elements in the middle of an array?
I am afraid that we are not able to store a new value into an array without adding the new element to the end.
I have made the following test using function union, please check it for a reference.
Function in Compose:
createArray('test1','test2','test3')
Function in Compose2:
union(outputs('Compose'),createArray('test4'))
Best regards,
Mabel
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
40 | |
36 | |
36 | |
36 | |
28 |
User | Count |
---|---|
39 | |
39 | |
34 | |
30 | |
25 |