I am trying to build a really simple flow, where when someone creates or modifies an item in my SP List I would send an email.
Here are my steps:
This is really weird because I had previously done the same thing in another flow and the result of the step was the actual item and I could select its Properties.
The microsoft documentation is also obscure stating that for the operation GetOnUpdatedItems: "The outputs of this operation are dynamic"
So my question is what to expect as a result from the trigger? Could it be possbile that since there is "quick edit" on sharepoint lists I might get a list of items, instead of one? Is it safe to go write triggerBody()['Title'] or access any other propery of the item? I was hoping to get the item's properties listed in the dynamic content but I was taken aback by the result.
Most of the list item properties should be available to you in Dynamic Content when using the "When an item is crested or changed" trigger.
If you don't see what you want, check to see if there is a "more" link to the right of the "When an item is created or changed" heading in Dynamic properties. If there is, click it to expose additional properties.
Also, you can compare the Created and Modified columns to determine if the trigger responded to a new item or a change to an item.
I have made a test on my side and don't have the issue that you mentioned. The screenshot of my flow as below:
Please take a try to clear cache of your browser and try your flow again to check if the issue is solved.
In addition, you could also access the properties of the item using the following formula:
I assume that you want to reference the Created property and Modified property of the item, you could use the following formula:
Access Created property:
Access Modified property:
I have made a test on my side and please take a try with the following workaround:
Within Condition box, click "Edit in advanced mode", type the following formula:
The flow works successfully as below:
More details about using expression in flow actions, please check the following article:
@v-xida-msftthan you for the answer. I tried, cleaning my cache, I even used another browser but the dynamic content is still the same
I haven't tried using the expressions you gave me.
But why am I seeing a different view from you? Could it be something with the list settings?
Speakers, submit your sessions now! Call for speakers ends Feb. 10!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!