Text analytics - FilePathPattern to a value list

Hi Team,

I've spent a lot longer on this that I'd care to admit.

I have a requirement to extract a specific folder name from the FilePathPattern and have this set the "Quarter Ending" property which is a Value List containing 4 dates:

31 Mar, 30 Jun, 30 Sep, 31 Dec

And the FilePath is in the format \\server\share\31 Dec\scanned_document.pdf

I have my regex that is retrieving the date element from the FilePath correctly (tested by having this add to a standard Text property. But when I configure this to return the value to the "Quarter Ending" property (which is a Value List) nothing happens.

1st Question, is this even possible?

2nd Question, if so should Text Analytics be able to do this, or should I also require Matcher?

3rd Question, why doesn't it work? Slight smile

Any assistance would be appreciated. I've been stuck on this for weeks.

Parents
  • Have had a similar request a while back. My solution was to save the extracted value in a text property and then in the next step of a workflow to run a script that uses this text value in a search to find the corresponding lookup value and insert that in the lookup property.

    It might be simpler for you to use Matcher if the documents do not contain a lot of dates. If they do, Matcher may provide false suggestions based on dates found in the document.

Reply
  • Have had a similar request a while back. My solution was to save the extracted value in a text property and then in the next step of a workflow to run a script that uses this text value in a search to find the corresponding lookup value and insert that in the lookup property.

    It might be simpler for you to use Matcher if the documents do not contain a lot of dates. If they do, Matcher may provide false suggestions based on dates found in the document.

Children