Power Automate Tips: Work with Loop

2024-08-16

All articles from this blog can ONLY be redistributed on an Attribution-NonCommercial-NoDerivs basis. Please credit the source, thank you.
Twitter:@kelvinshen
Blog:Kelvin Shen's Blog

What is the difference between value, body?

A Dataverse “List rows” action returns both an value object and body object which can be used in following steps. So what is the difference?

The Dataverse “List rows” action queries Dataverse WebAPI for data and the results are returned in the JSON format. Both the value and the body object represents the data structure of the return the data.

{ ...
 body{
  value [
   {1}
   {2}
   {3}
  ....
  ]
 }
}

Access Loop Item Values

concat(items('Apply_to_each')?['_lookup_fieldname_value'], ',')

References

https://linnzawwin.blogspot.com/2019/11/power-automate-how-to-set-lookup-field.html

Leave a Reply

comments powered by Disqus


Table of Content