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

Question

Question

Quick Fields ignores barcode value

asked on March 4, 2016 Show version history

I am facing a strange situation. So I have a Quick Fields session which does the follwing for each page at Page Processing Level:

Page 1:

1. Creates 4 global tokens and set their values to empty (just under Pre-Classification Processing) 

2. Read if their is any barcode on the page 1

3. If there is no barcode on page 1, then we will go under condition 2 (which is if global tokens are empty and it will get true here as because of no barcode on page one, no values were assigned to the global tokens)

4. Condition 2 doesn't do much and it just resets the values for global tokens to empty (which are anyways empty at this page 1)

 

Page 2:

5. Now page 2 has a barcode and barcode module will read the barcode.

6. Condition 1 will get true (which is setup as if barcode is not empty)

 

BUT BUT BUT, quick fields at this point says that barcode 1 is empty (why???). Please see the screenshot attached.

 

Page 3:

7. Page 3 has no barcode, so Quick Fields will simply go under condition which says 'if barcode is empty' and nothing will happen. So at the end all tokens are empty (though QF was able to read barcode at second page) and hence no values gets assigned to the template fields

 

Now the strange things is, this same session works for the following types of documents:

1. Single page document with no Barcode

2. Single page document with a barcode

3. Two pages document with barcode on 2nd page

4. Four pages document with barcodes on page 1 and 3.

 

But for a 3 pages document where barcode is on page 2, this session doesn't perform right.

 

Any thoughts guys? Where do you think I am doing it wrong?

QF Session.png
0 0

Replies

replied on March 4, 2016

Your description of the session does not match the screenshot.

What page is the barcode process set to? What page is Assign Token Values 4 set to?

0 0
replied on March 4, 2016

Miruna,

My bad. I have changed the screenshot.

So 'Assign Token Value 4' has 4 tokens.

Contional has condition set to "If barcode 1 is not empty"

Conditional 2 has conditions set as, none of the global tokens are empty (reason behind is, if QF reads barcode at page 2 and assigns values to global tokens (defined under Assign Token Value 4) and page 3 has no barcode, then don't reset the values and keep the values in the tokens.

 

I am reading barcodes on 'All pages'

 

Thanks

0 0
replied on March 4, 2016

under processing information, at line 6, this is where the session reads the barcode successfully at page 2 but then at line 7 it says that 'value for token %Barcode 1 could not be found'.

0 0
replied on March 6, 2016

Please rename the attached exported qf session from .txt to .qex.

0 0
replied on March 9, 2016

Hi Miruna,

Any suggestions smiley ?

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

Sign in to reply to this post.