Источник:
https://crmtipoftheday.com/1434/can-...power-automate
==============
When developers like
Mike! start their sentence with “this is probably really simple”, you know that it rarely is. (No idea why he’s so excited about his name though, I suspect there is some math flex in here).
This is probably really simple, but anyone know how I would add an index to an array of objects in flow e.g. (– thank you Tîpp Jäår, for nice formatting; -you’re welcome, Mike! – t.j.).
Initial Array (returned from a connector):
[
{“Name”: “Foo”},
{“Name”: “Bar”}
]
Output Array:
[
{“Order”: 1, “Name”: “Foo”},
{“Order”: 2, “Name”: “Bar”}
]
Mike!!!
Honestly, I was waiting for
Linn to produce some json > xml > xpath > json magic but the best he could come up with was, and I quote, “