Which laserfiche tool should i use to to count the number of files within a cloud folder
Question
Question
Which laserfiche tool should i use to to count the number of files within a cloud folder
Answer
Do you need a tool? From the web client, you can just view the "file stats" properties of the folder, which will show how many documents it contains.
You could find similar information from a workflow by using a search expression to get a token with a count of results found. Example expression below:
({LF:LOOKIN="\YOUR\FOLDER\PATH"}) & {LF:Name="*", Type="D"}
Thanks so much for this valuable information. I wanted to design a workflow that tracks the number of files within each folder in a certain location in the repository. The scenario is like this, to legally register a product, you must have 5 documents in place. Hence this workflow should check each folder to see if it contains these 5 documents, and if not a notification is sent as an email or otherwise.
Then you probably want a Conditional Decision activity in Workflow. It will give you options to check the folder contents to ensure you have the correct 5 documents in place.
I don't see this section in LF Cloud, is this not a thing?
That is correct. This query is fairly expensive to run in large repositories, so it is not offered in the cloud.