You don't need a loop for this. You can: - create a variable of type number, for example "collection_size", default value 0; - assignment element, using the variable "collection_size" on the left, operator "Equals Count" and the Get element name on the right; - use the variable name on the screen; Loop is not needed in this scenario and if you have a lot of records it will take time to go over each and every record :)
I really like your channel and have been an admin for 6 years. You should know that you can get a sum now with the assign element and you dont need to loop through all the records anymore!
How would you go about taking a certain action when the count hits x number in a specific timeframe (ie 3 cases created on an account in the last 180 days)?
You don't need a loop for this. You can:
- create a variable of type number, for example "collection_size", default value 0;
- assignment element, using the variable "collection_size" on the left, operator "Equals Count" and the Get element name on the right;
- use the variable name on the screen;
Loop is not needed in this scenario and if you have a lot of records it will take time to go over each and every record :)
I really like your channel and have been an admin for 6 years. You should know that you can get a sum now with the assign element and you dont need to loop through all the records anymore!
That's so cool I didn't even realize! Thanks :D
I just saw this comment. How would you go about doing that?? That's awesome
NumberVariable EQUALS COUNT CollectionVariable. Done!
How would you go about taking a certain action when the count hits x number in a specific timeframe (ie 3 cases created on an account in the last 180 days)?
Using the Today () variable doesn't work on the new version of Flow.