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

Question

Question

Lookup returns a token value

asked on June 15, 2018

I have a process that retrieves the starting entry's Template ID and uses this ID to for a lookup to return which field should be used as our 'Primary Reference ID' Example:

Template ID = 2 (BOL); Field = '%(Bill of Lading Number)'

Template ID = 22 (POD); Field = '%(POD Number)'

In the lookup table, I have this reference for ID 2 = the token for '%(Bill of Lading)' -- See below:

 

Here's the problem:

Whenever the lookup is done, the token value is '%(Bill of Lading Number)' and Laserfiche interprets that as a string instead of a token value.  How can I get this to be a token and use the token value for %(Bill of Lading Number)

I'm not sure if there is a way for me to apply a format to this value or something that I can get Laserfiche to think it is a token, not a string!  

Cheers,

Nate

0 0

Replies

replied on June 15, 2018

Workflow doesn't resolve tokens recursively in the same value. %(Query TemplateID_LF_Token) is a token and gets resolved to the string "%(Bill of Lading Number)". At this point, this is the value, not a token.

You'll need a conditional decision to specify which value to use.

0 0
replied on June 15, 2018

I believe you may be using Number value and Token interchangeable. When a Value is assigned to a Token (Assign Token), then you do have the option to define what type of token it is (String, Number, Date, etc). This may be a required step at times when you are attempting to use the value in a Token Calculation, assigning to a Number field in a form, or writing to a Number field in a DB table

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

Sign in to reply to this post.