AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
CRM
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 05.04.2022, 09:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
crmtipoftheday: Tip #1434: Can you count OR how to add index to array in Power Automate
Источник: 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, “
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crmtipoftheday: Tip #1432: Create records in Power Automate without mandatory fields Blog bot Dynamics CRM: Blogs 0 21.03.2022 11:11
crmtipoftheday: Tip #1408: When tomorrow comes in Power Automate Blog bot Dynamics CRM: Blogs 0 26.08.2021 05:39
crmtipoftheday: Tip #1392: Missing entities in Power Automate Blog bot Dynamics CRM: Blogs 0 24.11.2020 05:13
crmtipoftheday: Tip #1370: Handle RemoteExecutionObject in Power Automate Blog bot Dynamics CRM: Blogs 0 25.06.2020 17:11
crmtipoftheday: Tip #1322: Incorrect increment and decrement in Power Automate Blog bot Dynamics CRM: Blogs 0 11.02.2020 15:11
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 17:59.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.