I'm starting to convert some (the simplest) InfoPath forms and SPD flows to PowerApps and Flow.
In SPD when an item is modified, the workflow runs only on that item and not on all the items in the list.
Which flow choice should I use or what method is used to run the flow only when the specific item is modified?
If I understand it, it seems that you want to monitor whether a specified item has changed.
You could use When an item is created or modified as the trigger, and then use Condition to determine whether the changed item is the specified one.
You could use the Item ID as the basis for the judgment. The ID is a field with a unique value in the list.
@and(equals(triggerBody()?['ID'], 2),not(equals(triggerBody()?['Created'], triggerBody()?['Modified'])))
Please take a try.
That's not specific enough of a trigger. I have a list with hundreds of items and there could be many actions taken by many users every day. What I'm looking for is a trigger or a workflow that would start only if the item that is being modified.
If I'm to have tens of thousands of items (as some of my lists do), if would crush searching for those items.
Currently, Flow does not exist a trigger that would start only if the item that is being modified.
I am afraid that your needs cannot be achieved currently.
If you want to the feature that you mentioned to be supported in Microsoft Flow, you could vote for the similar idea in the forum below:
Also you could post your idea in the Flow Ideas forum, so it might be considered for future releases.
I think there's some confusion here. The trigger mentioned in other answers will only run for the item that was created/modified, and will not run for all items on the list. So if there are 1000 items, and you add one more, the flow will run just for that one item. If you add 1000 items, then yes, the flow will run for all 1000 items (though, using the condition provided, the flow could then immiately exit for those items, since they were created and not modified).
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Look out for new contribution recognition badges coming SOON!
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!
The top training and networking event across the globe for Microsoft Business Applications