![]() |
#1 |
Участник
|
crmtipoftheday: Tip #1257: Learn Compose action in Flow
Источник: https://crmtipoftheday.com/1257/lear...ction-in-flow/
============== I wanted to name this tip “Do not use variables in Flow” but then it would have been a click-bait, not a tip. Yesterday we worked our way through the concept of getting an attribute of the first record from the list. The very first step we avoided was to “declare the variable”. Yes, it would have worked but unless we intend to modify the value, it’d be a one-off assignment. If you need a result of an expression and you are not planning to modify the value then, instead of a variable, consider using Compose action (which takes its name from the intent of taking multiple inputs and building a single output). Using the same example (getting the full name of the last created contact for an account): ![]() body('Get_Last_Contact')?['value']?[0]?.fullnameExpression in the results check is: empty(outputs('Last_Contact''s_FullName'))Advantages of using Compose:
Cover photo by unsplash-logoIsaac Ibbott Источник: https://crmtipoftheday.com/1257/lear...ction-in-flow/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|