Cool hack to transform data in Azure logic apps, using simple expressions (and no code)
Amigos, here goes a very cool hack to handle an incoming payload in your Azure Logic Apps, that can create any type of complex transformation, using just expression and variables -- nothing else. I have covered how to transform using Data-mappers on another previous blog (https://community.dynamics.com/blogs/post/?postid=d7eda435-952b-ef11-840a-6045bddad7eb), but this one is even easier. Check it out: Background: We have an incoming purchase order payload that cumbersomely looks like this: { "OrderNum": "PO000111", "VendorCode": "v0001", "NoOfLines": 3, "Currency": "euro", "PaymentTerms": "14d", "OrderStatus": "Received", "Invoiced": "No", "Lines" : [ { "ItemId": "I0001", "Qty": 12, "Price": 1000, "LineNum": 1 }, { "ItemId":...