I have discovered the Has Column Changed dynamic "action" which is returned by using Get changes for an item or file (props only).
This I think, could be used to display only the fields/columns that were changed on an SPO list item, within an email.
The Has Column Changed returns a collection like so:
{"ID":false,"Title":false,"Status":true,"Model":false,"Requestedby":false,"RequestingPart":false,"Sponsor":false,"Date":false
Perhaps a HTML table could be used to display only the fields which are true? Would I start with a Select or HTML table action to achieve what I want?
Since it dynamic try the HTML table
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogHi - getting an error:
BadRequest. The property 'columns' must be specified unless the 'from' property value is an array of objects.
Automatic doesn't work. I only want to show the fields that have been changed as well. So your solution won't work, but thanks.
Check the run history whether it returned as an array or not? Create HTML action step requires an array object to bind? Could you post a screenshot of run history data.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blog
Ok I checked that now. It won't return the changes in an array format so you won't be able to bind the values directly via HTML. Same for the SELECT action step as well. You may need a very custom implementation for this. I am thinking you could check the has column changed property to check all the fields and append the values in a custom HTML string and finally bind the HTML in an email. Downside is you will end up having too many IF conditions.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogUser | Count |
---|---|
89 | |
37 | |
26 | |
13 | |
13 |
User | Count |
---|---|
127 | |
54 | |
38 | |
24 | |
21 |