I want my flow to trigger when a new item is added or an existing item is updated in SharePoint. I could not find a way to add two triggers.
So do I have to create two flows to achieve that functionality?
Solved! Go to Solution.
Hi @Damitha,
Adding multiple triggers in Microsoft Flow is not supported currently, but this is a good idea.
Please consider submit this an an idea in Microsoft Flow idea forum:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
In addition, if you refers to SharePoint list new item or the update existing item, then use the When an existing item is updated should meet the requirements you mentioned here, when a new item is added, the When an existing item is updated will also be triggered. There is no need to add those two mentioned triggers for this situation.
Regards
Hi @Damitha,
Adding multiple triggers in Microsoft Flow is not supported currently, but this is a good idea.
Please consider submit this an an idea in Microsoft Flow idea forum:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
In addition, if you refers to SharePoint list new item or the update existing item, then use the When an existing item is updated should meet the requirements you mentioned here, when a new item is added, the When an existing item is updated will also be triggered. There is no need to add those two mentioned triggers for this situation.
Regards
Idea submitted here:
https://powerusers.microsoft.com/t5/Flow-Ideas/Multiple-Triggers-For-The-Same-Flow/idc-p/58853
Please support with your vote and share.
You can create one flow for each trigger and then have them all call the flow that does the work.
I created a flow that would send an email notification every time a new record was inserted into a table in an sql database.
I wanted to make sure that no records were missed if the flow was briefly inactivated or something so I created another flow that is triggered once a day.
Both these two flows just picks up the data from the newly created records from the database and then triggers a third flow to run and send an email for each of the records picked up.
The third flow is triggered "When HTTP request is received" and all the data from the calling flow is passed to it in the body of the request.
I disagree. As far as I can tell, there is no option for "When an existing item is updated".
These are the choices:
When an item is deleted
When a file is created in a folder
When an item or a file is modified
When an item is created
When a file is created (properties only)
When an item is created or modified
When a file is classified by a content understanding model
When a file is created or modified in a folder
When a file is created or modified (properties only)
When a file is deleted
I have tested "When an item or a file is modified" with a sharepoint list and I can say with confidence that editing a cell will trigger the flow, but adding a new row does NOT trigger it.
I'm surprised that multiple triggers is not supported. That seems like it would be an obvious function that would have been added at the very beginning. I suppose mabl4367's approach of using multiple flows will work, but it seems a bit hacky.
This one seems to work (it will trigger when an item is modified AND when one is created): When an item is created or modified
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
46 | |
44 | |
38 | |
37 | |
33 |