Hello.
I have made a flow that would trigger when a file is created in a folder (lets call it event folder). Based on that the flow would create another file in a different folder and send me a message that a new file has been created.
Now the event folder could have 1 or multiple files generated at once. My flow would trigger for each file created and spam me for all the files at once. I want only to have one message for any number of files created within the span of 5 minutes. Is there a way to do that?
Here is my flow
Solved! Go to Solution.
HI @shadow29warrior ,
So I have done some testing.
Default Trigger - not changes to settings
1. Created 3 items in succession
2. Flow triggers 3x (as expected)
Disable Split On and Set Concurrency Control to 1 (sequential)
1. Added 7 items in a succession
2. Flow runs 1x
3. The items are outputted in the trigger body as an array which will allow you to loop through multiple items in one flow.
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Connect on LinkedIn
Hi @shadow29warrior ,
You could play around with SplitOn and concurrency within your trigger settings as mentioned here. Scroll down to the last half of the blog.
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Connect on LinkedIn
Didn't seem to work. It seems concurrency control limits the number of parallel instances but once an instance finishes, another one is triggered thus achieving nothing but delayed messages which causes more confusion
I think you need to toggle spliton to off in your trigger.
I will have a look tomorrow morning once I am in front of my pc
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Connect on LinkedIn
HI @shadow29warrior ,
So I have done some testing.
Default Trigger - not changes to settings
1. Created 3 items in succession
2. Flow triggers 3x (as expected)
Disable Split On and Set Concurrency Control to 1 (sequential)
1. Added 7 items in a succession
2. Flow runs 1x
3. The items are outputted in the trigger body as an array which will allow you to loop through multiple items in one flow.
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Connect on LinkedIn
Hey @eric-cheng
Seems like you are using the `When Item is created` block which works on lists and not files. That block's settings have spliton option, I believe I don't have permissions to create lists on the sharepoint thus I am using `When a file is created in a folder` block which does not have the spliton option. I have just tried with concurrency settings as shown below which doesn't work
Here is the flow, could you please try to replicate it with these blocks as per the screenshot?
Hi @shadow29warrior ,
Can you use the when a file is created (properties only) action?
You can still specify a folder.
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Connect on LinkedIn
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
21 | |
20 | |
9 | |
8 | |
8 |
User | Count |
---|---|
34 | |
30 | |
25 | |
23 | |
12 |