I've created a Flow that triggers 'When an item is created or modified'. The Flow checks the value of a field in the item, and depeding what it is, it then changes the value of another field.
When I run the Flow, it keeps triggering every minute. It seems to treat its own modification of the item as a trigger to start itself again. And again. I had to stop the Flow at one point.
This is surely a bug, right? If this is by design, then it renders this type of trigger completely useless. Or am I doing something wrong? I just want the Flow to trigger when a USER modifies the item. Please can anyone help?
Hi @PoKasia ,
Could you provide a full screenshot of the Flow configuration?
The trigger you are currently using will trigger Flow when a new item is created in the list or the existing item is changed.
If there is Update item or a Create item action in Flow, and the configured list is the same as the trigger, a loop will occur and the Flow will execute multiple times.
If you want to know which field value has changed, we are not able to achieve this requirement through Flow's existing action.
We can only monitor whether the entire list has changed using When an item is created or modified, and we can't know which field's value has changed.
In addition, we generally use Condition to determine whether the current Flow is triggered due to the item is changed or a new item is created. Created is equal to Modified, indicating that this is a newly created item; otherwise, this item has been updated.
Thanks for your response.
Am I therefore to understand that this functionality is by design? If a Flow is triggered by a modification to a list item, then any update of that item will trigger the Flow again?
Is there any way to specify that the Flow should be triggered only when an actual user modifies the item?
The situation is unchanged - there is no trigger that fires only when a SharePoint list item has been modified. You can use the technique offered by @v-bacao-msft to work around this issue.
I think that maybe my question is not clear.
I am not having an issue with determining that a Flow is triggered due to the item being changed or created.
My issue is that my Flow modifies the item on which it is running, and this in turn triggers the Flow to run, again and again, every minute, in an endless loop. How can I stop it from doing that? I want my Flow to run ONCE, when a user modifies an item.
Thanks in advance!
Here is one way to address your situation:
If you need an example, please let me know.
Check out the new Process Advisor community forum board!
Check out new user group experience and if you are a leader please create your group
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Check out how to claim yours today!