In SP 2016, I want to create a Nintex Workflow. The user shall manually enter a library name. The workflow shall then retrieve all documents and folders of the library and perform some logic. Logic involves updating metadata or field associated with each document
What are my options. I was thinking of using CAML query. But then how do I use CAML query to update a field.
Any ideas would be appreciated.
You don't use CAML queries to update field, but to retrieve the ID of the items.
Once you have the IDs, you can loop on them to update the properties.
Do not forget to use RecursiveAll in your CAML to explore subfolders.