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

Question

Question

How to take document name and enter into the metadata for that document

asked on May 24, 2018

I have many documents that are named as such, 12345678_05/24/2018.  I'm trying to create a workflow that will copy the first eight numbers of the document name (check number), and enter that into a field within the template that the document already uses so it will be more search friendly.  Is this possible?  Any help or guidance would be greatly appreciated.

 

Thanks

0 0

Answer

SELECTED ANSWER
replied on May 24, 2018

Hi Bill, try with Assign Token Values activity, and Assign Field Values activity

In Assign Token Values created a new Token sample: Number

and set value ( copy the first eight numbers of the document name) : %(Entry Name#<........>#)

 

Please remember to mark the response that answered your question so others know that this post has been completed.  If you have any other questions, feel free to leave a reply.

 

regards,

Marco.

1 0
replied on May 24, 2018

Hi Marco,

Thanks so much for your help!  I was almost there before you answered, but I was trying to include Find Entries in the beginning and it would not assign the field values at the end of the workflow.  How would I be able to run this on a group of entries (folder with 100) instead of publishing it into a business process and having to highlight entries and click to process?

Thanks again!

Bill

0 0
replied on May 24, 2018

Also, where does %(Entry Name#<........>#) come from (what language is what I guess I'm trying to ask)?  I was trying to use reg. exp. \d{8}$.

0 0
replied on May 24, 2018

Hi Bill,

Can use business process, where %(Entry ID) is ID from folder that contains the documents, when begin business process, search all documents in the folder.

Respect to %(ForEachEntry_CurrentEntry_Name#<........>#), use the Token Dialog for format token that will extract the first 8 numbers from CurrentEntry_Name. In regular expressions, the dot is one of the most commonly used metacharacters. The dot matches a single character, also can use \d{8}, set value %(ForEachEntry_CurrentEntry_Name#<\d{8}>#)

 

regards,

Marco.

0 0
replied on May 24, 2018

Marco,

You have been EXTREMELY helpful today, and I have learned a ton!

Thank you very much!

Bill

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.