List of Global Tokens

The following list details the global tokens available in Workflow.

Note: Global tokens can be used in business processes.

Name Description Syntax
Date The date the activity ran as defined by the Workflow Server machine. %(Date)
Time The time the activity ran as defined by the Workflow Server machine. %(Time)
DateTime The date and time the activity ran as defined by the Workflow Server machine. %(DateTime)
Has Starting Entry Whether the workflow has a starting entry defined. This token can have one of two values: True or False. %(Has Starting Entry)
Instance URL

A Workflow Web URL that points to the workflow instance.

%(Instance URL)
Entry ID The Laserfiche ID number of the routed entry. %(Entry ID)
Entry Name The name of the routed entry. %(Entry Name)
Entry Path The folder path of the routed entry. %(Entry Path)
Entry Repository The repository the routed entry is in. %(Entry Repository)
Entry Server The Laserfiche Server the routed entry is on. %(Entry Server)
Initiator The user that satisfied the workflow's starting rule. %(Initiator)
*Starting DateTime The date and time the workflow started. Note that this value may differ from the start time listed in the Search Results, especially if there is a backlog of workflows waiting to run. More information. %(Starting DateTime)
*WorkflowName The workflow's unique name that is used when the Workflow is converted into Windows Workflow Foundation code. %(WorkflowName)
*WorkflowID The ID number assigned to the workflow. Workflow ID numbers are based on the chronological order in which workflows are published. The first workflow you publish is assigned an ID number of one. %(WorkflowID)
*WorkflowInstanceID The ID number assigned to the workflow instance. Workflow Instance ID numbers are based on a Globally Unique Identifier (or GUID). %(WorkflowInstanceID)
*RuleName The name of the starting rule that started the workflow. This token is blank for invoked workflows. %(RuleName)
*LFServer

The name of the starting entry's Laserfiche Server.

%(LFServer)
*LFRepository The name of the Laserfiche Repository the starting entry is in. %(LFRepository)
*DisplayName The name of the workflow as defined in the Workflow Name property box. %(DisplayName)
*WorkflowVersion The workflow's version number. Each time you re-publish a workflow it is given a new version number. The first time you publish a workflow, it is version 1 of the workflow. %(WorkflowVersion)
*Initiator SID The SID (security identifier) of the user that satisfied the workflow's starting rule. %(Initiator SID)
*Forms Submission ID

The ID of the Forms submission.

Note: This token is available to workflows started through a service task in Laserfiche Forms.

%(FormsSubmissionID)
*Forms Business Process Instance ID

The ID of the Forms Business Process instance that started the process.

Note: This token is available to workflows started through a service task in Laserfiche Forms.

%(FormsBPInstanceID)
  Comment of the last submitted form. %(Submission Comment)
  Action of the last submitted form. %(Submission Action)
    %(Submission ID)
  The display name of the submitter of the last submitted form. %(Submitter)
  The account name of the submitter of the last submitted form %(Submitter Account)
  The email address of the submitter of the last submitted form. %(Submitter Email)
  The security identifier of the submitter of the last submitted form (SID tokens are used to find managers and other directory properties). %(Submitter SID)
  the name of the last submitted form %(Form Name)
  the ID of the last submitted form %(Form ID)
  the id of the business process instance %(BP Instance ID)
  the name of the business process instance (customized title) %(BP Instance Name)
  the name of the business process %(BP Name)
  the start time of the bp instance %(BP Start Date UTC)
    %(BP Start Date)
  the display name of the initiator of the form %(BP Initiator)
  the account name of the initiator of the form %(BP Initiator Account)
  the email address of the initiator of the form %(BP Initiator Email)
  the SID of the initiator of the form %(BP Initiator SID)
  the URI to the forms server – for use in HTTP Activities with forms web api %(Forms Server)
  the ID of the form’s process %(Process ID)
  the ID of the current step (currently not implemented - I might need Johnny’s help on this) %(Step ID)
Business Process ID the ID of the business process %(BP ID)
    %(Submission Form Names)
    %(Submission Step IDs)
    %(Submission Steps)
    %(Submission IDs)
    %(Submission Actions)
    %(Submission Comments)
    %(Submission Timestamps UTC)
    %(Submission Timestamps)
    %(Submission Submitter Accounts)
    %(Submission Submitter SIDS)
    %(Submission Submitters)
    %(Submission Form IDs)
    %(Submission Submitter Emails)

*These tokens are hidden and do not appear on the token menu or in the Token Dialog.

Additional Tokens

In addition to the global tokens, tokens specific to the activities in your current workflow definition may be displayed in the token menu or Token Dialog. ClosedGive me an example.