So, I know I can update the limit but for my purposes, I don't really need to increase the limit if I could just have flow sort my SP list and go through the default 100 items if it could start with the oldest item first
I have a SP list of about 4000 items. I have a flow set up to delete items older than say 100 days. In order to get through the entire list, I have the Get Item limit set at 4000 items but that takes up a lot of time to run. Could flow just go through the oldest 100 items and check those instead? I don't need flow to even look at new items as that would be a waste of time and resources
Solved! Go to Solution.
Hi @bryanc78 ,
You forgot to add a ' at the end of your formula
After inserting this it should work fine 🙂
Regards,
Ricardo
In Get Item, you can provide where clause to filter on the Creation Date and only filter required items and delete them. Also add the index on Created Date in List Settings.
I feel like I'm close but getting an error using this
The expression "Created lt '2020-06-06" is not valid. Creating query failed.
clientRequestId: 7a5cd2f6-2bb0-46fd-bfe5-3d6659157cef
serviceRequestId: 7a5cd2f6-2bb0-46fd-bfe5-3d6659157cef
I'm trying to filter out items that are older than say 88 days so I can then delete them. Anything obvious that I'm missing
Hi @bryanc78 ,
You forgot to add a ' at the end of your formula
After inserting this it should work fine 🙂
Regards,
Ricardo
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 |
---|---|
27 | |
26 | |
26 | |
23 | |
23 |
User | Count |
---|---|
62 | |
45 | |
40 | |
29 | |
27 |