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

Question

Question

token

asked on December 1, 2021

Which of the following is true about tokens?
a) Token Value Must be formatted in the Assign Token Values activity
b) They have the same values in each workflow instance
c) They can be used to route and name documents based on metadata once they've been defined in the Assign Token Values activity
d) Every workflow generates tokens

0 0

Replies

replied on December 1, 2021

Hi Vishal, you can find the answer to that Laserfiche Certification Exam question in the Building a Basic Workflow lesson within the curriculum and by reviewing the content in the respective Training Reference Guide. Please refrain from posting Laserfiche Certification Exam questions directly in Answers. If you have specific questions about the content or associated exam, you can email us at aspire@laserfiche.com.

2 0
replied on December 2, 2021

Noted. Apologies, I have tried searching the correct answer but didn't found any suitable one, so unfortunately landed here.

0 0
replied on December 1, 2021 Show version history

This is a bit tricky because the answers are not really as simple as true/false.

A) Token values are usually set with Assign Token Values activities, but in some cases they can be created or modified by other activities. For example, Read JSON/XML can store values to an existing token.

Additionally, many activities will create their own Token values that can be used within the workflow. For example, Find Entry will generate tokens for name, path, and more, and Token/Date Calculator can create custom named tokens of their own without Assign Token Values.

 

B) Tokens can have the same values, but they might not. If you create a token in your workflow with a static value, then any instances that run with that version would have the same value.

However, the tokens for each instance are independent and specific to that instance, so the values can be the same, but they are not "shared" variables so they can also differ.

 

C) Yes, but the Assign Token Values activity is only needed for custom tokens. Sometimes you don't need to create a new token at all and can use auto-generated tokens (check the Token Dialog).

For example, you can use tokens directly from Retrieve Field Values, or Retrieve Business Process Variables, and many other activities like Token/Date Calculator without Assign Token Values.

 

D) Yes. Every workflow will have some default Global Tokens available like DateTime, WorkflowInstanceId, etc., but some are not always populated. For example if there is no starting entry, the associated tokens would be empty.

Additionally, just about every activity will generate some token values of their own; think of tokens like the process and activity variables associated with each instance of a workflow.

Most token values are not saved in the instance history unless you use Track Tokens, but it should be used sparingly because tracking more tokens can affect the database and performance.

You are not allowed to follow up in this post.

Sign in to reply to this post.