You are viewing limited content. For full access, please sign in.

Question

Question

Copying File Fields to Folder

asked on February 3, 2016

I am trying to write a workflow that will pull the Employee ID field from the document's metadata and apply it to the parent folder. Everything that I tried gave me the error of entry could not be found or the workflow gets stuck. Right now I'm doing it in a testing environment and heres the path:

 

testfolder\EMPLOYEE, TEST\test doc [with employee ID #1234]

 

the result I'm looking for is:

testfolder\EMPLOYEE, TEST [with employee ID #1234]\EMPLOYEE, TEST [with employee ID #1234]

 

When running the workflow, it gets stuck finding the field values, however the workflow will find the document and parent folder entries

 

Its a simple workflow for testing purposes only

Workflow.png
Entries.png
Workflow.png (11.63 KB)
Entries.png (21.19 KB)
1 0

Replies

replied on February 3, 2016

It seems like a simple task, i am not sure why you are getting the error. Couple of checks i would recommend 

1) does parent folder has any template or the field that you are assigning.

2) if id is empty then parent folder wont show any fields, it has to have a value. 

Little more detail will help to determine the problem.

1 0
replied on February 3, 2016

The parent folder has the same template

 

I used an even simpler copy metadata workflow and that worked. All it consisted of was:

find entry with the token %(Entry Path) and Copy Metadata [copied from: Starting Entry and Copy to: Other entry pointing to Find Entry path token]

 

Both workflows started from: testfolder\EMPLOYEE, TEST\test doc but only the copy metadata worked

1 0
replied on February 4, 2016

I got it working by fixing the assign field values to get the token.

My other question is how to make this workflow go through a series of folders. There is the main folder -> subfolder -> documents. Essentially the workflow should go down the line of subfolders updating the employee ID from the doc to the parent folder, all within the main folder.

0 0
replied on September 20, 2016

Hello Nicholas,

I am going through same task and wondering if anyone have found the solution.

 

Could you please guide on how you made "Copy metadata" work.

My requirement is as follows:

1) I have a "PERSONAL FILE" master folder, containing  sub folders named as "Employee number-Employee Name" (TO THESE FOLDERS I HAVE TO APPLY TEMPLATE)

 

2) Inside each above mentioned Sub folders there are 3 Sub folders(Recruitment Process, Official information , Personal Information).

 

3) Those 3 Sub folders may further contain more sub folders as per the document type.

 

4) The actual document will be in 3rd level of subfolders.

 

From the document i need to copy the template to 1st mentioned "Employee number-Employee name" folder then copy only 2 field values from it.

 

Please see below screenshot for further understanding.

 

 

Description of screenshot:

 

Inside "01-Application for Employment" folder the actual document with template will be there, whose template and 2 field values I need to copy to "1111-Employee name 1".

 

                   

 

 

FOLDER STRUCTURE.JPG
0 0
replied on October 10, 2016

Please do not post the same question in multiple threads.

0 0
replied on October 9, 2016

Any workaround for the mentioned query?

You are not allowed to follow up in this post.

Sign in to reply to this post.