cancel
Showing results for 
Search instead for 
Did you mean: 
dallas_nix
Nintex Newbie

Set column value of documents to same column value as folder they reside in

I have a projects folder.  Within that projects folder I have documents. I want to write a workflow that when a document is added to a project folder, it will set a project name column value for the document.  Any ideas on how to do so?

Reply
2 Replies
fhunth
Nintex Newbie

Re: Set column value of documents to same column value as folder they reside in

You can do it with a regular expression , extracting from the URL of the item

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: Set column value of documents to same column value as folder they reside in

Hello Dallas Nix​ -

Is this just one flat folder named "Projects" with a bunch of documents or are there subfolders for the specific projects and that is where the documents will be landing? So something like Projects > Project A > projectA.docx

If the document is going into a folder that is specific to the project, you can update the column in a workflow based on the folder it resides in. You can even set it up so on update it figures out where it is living and updates itself (in case it moves to another project or location).

If the document is just being dumped into one folder with all other project documents, you may want to consider making it a required field upon upload. The drawback with this is it is up to the user to do it, while the other way is automated and predicable.

Hope this helps!

0 Kudos
Reply