I have bunch of documents libraries in a SP 2016 site. Need to write a workflow that will allow the user to choose or type a library name. After that, the workflow needs to query all documents and folders in the library and perform some logic on each one of them.
I intend to use collections and for each loop. How exactly do I query all documents and folders in a library. Would it be Query list or something else?
Appreciate your help in advance.