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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 25.06.2020, 17:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
crmtipoftheday: Tip #1370: Handle RemoteExecutionObject in Power Automate
Источник: https://crmtipoftheday.com/1370/1781...campaign=17813
==============

When we talked about triggering Power Automate on Associate/Disassociate, I did set aside the task of “dealing with horrendous serialization”. Short version: it’s a RemoteExecutionObject that is serialized in the message and every DataCollection property is serialized as an array of objects with the key and value properties.

"InputParameters": [ { "key": "Target", "value": { ... "LogicalName": "adx_webrole" } }, { "key": "Relationship", "value": { ... "SchemaName": "adx_webrole_contact" } } Fair enough. But in the jsonified world of Power Automate, it would’ve been nice to see it as { “key”:”value” } object instead:

"InputParameters": { "Target": { ... "LogicalName": "adx_webrole" }, "Relationship": { ... "SchemaName": "adx_webrole_contact" } } Let’s say we want to extract SchemaName of the relationship. What are our options?

Someone suggested iterating over the InputParameters array until Relationship key is found and then extract the value and the property. It will work and will be very readable but bleugh! Here is not one but two methods to achieve the same.

(more…)

Источник: https://crmtipoftheday.com/1370/1781...campaign=17813
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crmtipoftheday: Tip #1363: Get Environment Variables in Power Automate (and Power Apps) Blog bot Dynamics CRM: Blogs 0 09.06.2020 23:17
crmtipoftheday: Tip #1362: Trigger Power Automate on Associate / Disassociate Blog bot Dynamics CRM: Blogs 0 08.06.2020 14:11
crmtipoftheday: Tip #1359: Whose fault is it in Power Automate? Blog bot Dynamics CRM: Blogs 0 03.06.2020 11:11
crmtipoftheday: Tip #1350: Modify webhook return status as needed in Power Automate Blog bot Dynamics CRM: Blogs 0 05.05.2020 18:13
crmtipoftheday: Tip #1345: When Power Automate picks the wrong type Blog bot Dynamics CRM: Blogs 0 28.04.2020 14:11
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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