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

Question

Question

Quick Fields Multi-value Tokens and selecting next value

asked on January 22, 2016 Show version history

I am trying to grab Employee names from a payroll statement. Unfortunately the name is not always in the same spot as it will move depending on types deductions entered. Therefore my OCR is zone is fairly large.

I can not use the first line as ADP restricts number of characters on this line. The first numbers designate company and department. 

I always need to get the employee name from the second line. Also some people will have a two last names.

An example would be Mackenzie Miller Mike

I can get the first line but how do I return as my token the second line.

Update 1: I have used the following syntax and it seems to work. First Match or Multi-value. .{7}\w{2,15}\s{1,3}\w{2,15}\s*\w{2,15}\n(\w{2,15}\s{1,3}\w{2,15}\s*\w{2,15})

Seems cumbersome.

0 0

Answer

SELECTED ANSWER
replied on January 22, 2016 Show version history

Mike,

Look under the Zone OCR Advanced options.

Under Setup, there is an option to specify whether a region has multiple lines of text. Change the Single line option to False. Also change the Create multi-value token option to True.

3 0
replied on January 22, 2016

I see now why I could not get that the advanced options to show. They are only available when you create a new OCR zone.

0 0
replied on January 22, 2016

If you select an existing zone from the box under the 'Region Selection' heading Misty showed in her first screenshot, that 'advanced options' link should become clickable for that zone. 

0 0
replied on January 22, 2016

Sometimes it is select-able and other times it is orange instead of blue. I have not got to bottom of why or why not yet.

0 0

Replies

replied on January 22, 2016

Have you tried using this feature in the token editor? 

You can use it to give you the second value in a multi-value token, which will be the second line if you've set up your Zone OCR to create a multi-line multi-valued token. 

1 0
replied on January 22, 2016

I have looked at this but I am having trouble understanding it.  I have not seen how to make the Zone OCR multi-value.

It seems that when you create a multi-value token with the pattern match you can not use the Apply Index within the same pattern match on another Token.

I can make a token multi-value, then create another pattern match and Apply Index but have not had success in making this work yet.

0 0
replied on January 22, 2016 Show version history

Thanks to all the help. Plowed thru this with the help. The key was finding the multi-value setting in the OCR Zone

OCR zone advanced setting as mentioned

Token

 

Another Zone with pattern match working as well

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.