Find Entries
This activity finds Laserfiche entries and makes them available to other activities in your workflow definition. More information. See the tokens this activity produces.
Note: After this activity runs, the Messages Tab of the workflow instance details will list how many entries the activity found.
How does this activity look in the Designer Pane?
Note: Most Workflow activities can only interact with one Laserfiche entry at a time. Since the Find Entries activity finds and returns multiple entries, you will usually use this activity in conjunction with the For Each Entry activity. Show me an example.
To add this activity to a workflow definition
- Drag it from the Toolbox Pane and drop it in the Designer Pane.
To configure this activity
Select the activity in the Designer Pane to configure the following property boxes in the Properties Pane.
-
Activity Name
Once added to a workflow definition, the default name of an activity can be changed. Providing a custom name for an activity helps you remember the role it plays.
To name an activity
- Add an activity to your workflow by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
- Select the activity in the Designer Pane.
- Under Activity Name in the Properties Pane, replace the default name.
Note: Activity names cannot be the same as any other activity name in the workflow, they cannot be the same as the workflow's name, they must be less than 100 characters, they must contain at least one alphanumeric character, they cannot be "Name," and they cannot be the same as the activity's runtime type (which is usually only an issue with custom activities).
-
Activity Description
Use the Activity Description to provide descriptive text to help you remember the role that the activity plays in the workflow. All activities contain a default description that you can modify while constructing your workflow.
To modify an activity description
- Add an activity to your workflow by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
- Select the activity in the Designer Pane.
- Under Activity Description in the Properties Pane, replace the default description.
-
Entries to Find
The Entries To Find property box determines where the Find Entries activity looks for entries.
Note: If you want to return only an individual document, rather than the parent folder, use the Find Entry activity instead.
To configure Entries To Find
- Add the Find Entries activity to your workflow definition by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
- Select the activity in the Designer Pane.
- Use the drop-down menu to either find entries in a specified folder or find entries in the same folder as a specified entry.
- Under Entries To Find in the Properties Pane, determine how you want to find entries.
To find entries based on their ID number
All documents, folders, and shortcuts stored in a Laserfiche repository are assigned a Laserfiche Entry ID number. If you choose to find entries based on an ID number, the entry with the specified ID does not need to stay at the same path for the Find Entries activity to find it.
- Select with ID.
- Type an entry ID, or click the Browse button (ellipsis) to open the Browse Laserfiche Entries dialog box. Alternatively, click the Token button (right arrow) to use tokens.
Note: If the ID refers to a document or shortcut (instead of a folder), the activity will return all the entries in same folder as the document or shortcut.
To find entries based on their location in a repository
If you choose this option, the entry you specify a location for must stay at the same path for the activity to run correctly.
- Select at.
- Type a location path, or click the Browse button (ellipsis) to open the Browse Laserfiche Entries dialog box. Alternatively, click the Token button (right arrow) to use tokens. You can only enter a destination within the Laserfiche repository selected in the Connection Profile.
Note: If you browse to or specify a path to a document or shortcut (instead of a folder), the activity will return all the entries in same folder as the document or shortcut.
- Optional: If you select to find the entries in the same folder as the entry and the entry is a shortcut, you have an additional option.
- Select If the entry is a shortcut, use the document or folder that it references to retrieve entries in the folder where the actual entry is located. If you don't select this option, the activity will return the documents in the folder where the shortcut is. Give me an example.
Example: The Financial Statements folder, inside the Accounting folder, contains several statements. If you select to find the entries in the folder Financial Statements (specified by either its ID or path), then all of the statements inside that folder will be returned. Show me what that looks like. If you select to find the entries in the same folder as the entry Financial Statements (specified by either its ID or path), then all the entries inside the Accounting folder will be returned. Show me what this looks like.
-
Filter Entries
Once entries are found by the Find Entries activity, this property box determines which related entries will also be returned.
To configure Filter Entries
- Add the Find Entries activity to your workflow definition by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
- Select the activity in the Designer Pane.
- Under Filter Entries in the Properties Pane, choose one or more of the following.
- Documents: Includes documents in the entries returned.
- Folders: Includes folders in the entries returned.
- Document Shortcuts: Includes document shortcuts in the entries returned.
- Include the referenced documents instead of the shortcuts: Returns the actual documents instead of their shortcuts.
- Folder Shortcuts: Includes folder shortcuts in the entries returned.
- Include the referenced folders instead of the shortcuts: Returns the actual folders instead of their shortcuts.
Example: If the "Finances" folder contains a shortcut to the document "Budget Proposal 2010", selecting Include the referenced documents instead of the shortcuts will return the "Budget Proposal 2010" document instead of a shortcut to the document.
-
Additional Properties
Use the Additional Properties property box to retrieve additional properties about the entry.
Warning: You can retrieve only one event date from a record. If the record has multiple event dates, the events will be ordered according to their assigned dates, and Workflow will retrieve the first date in that order. The ordering happens with blank event dates being first, followed by non-empty event dates going from later dates to earlier dates. For example, if there are multiple events and any of the events has a blank date, Workflow will retrieve a blank date. If there are multiple events and they all have non-empty dates, Workflow will retrieve the latest date among them.
To retrieve additional properties
- Click the Additional Properties property box to load the Select Additional Properties dialog box.
- Select the check box next to each desired property. Selected properties are available to subsequent Workflow activities as tokens.
-
Fields
Use the Fields property box to retrieve field data from the found entries .Configure the Fields to retrieve
-
Sort Found Entries By
- Use the Sort Found Entries By property box to configure the order the found entries will return in.
- By default you can sort by Entry ID, Name, Path, Shortcut Target ID, Type. You can sort by any Additional Properties or Fields you retrieve.
- To add a sorting category click on the property and add it to the right side of the dialog.
- You can add additional categories to create more specific sorting rules. You can adjust the priority of the categories by pressing the up and down arrows to the right of the box.
- You can toggle between sorting Ascending/Descending by clicking on them in the Order column
Note: If you have more than one connection profile for your workflow definition, the Connection Profile property box lets you specify which connection profile this activity will use.
Tokens for Find Entries
The Find Entries activity produces the following tokens.
Name | Description | Sample Syntax* |
---|---|---|
EntriesFoundCount | The number of entries found with the Find Entries activity. (Legacy format) | %(FindEntries_EntriesFoundCount) |
Result Count | The number of entries found with the Find Entries activity. | %(FindEntries_Result Count) |
*The "FindEntries" portion of the syntax changes to match the activity's name as specified in the Activity Name property box. Note that all non-alphanumeric characters, except underscores, are removed from the name. For example, if you rename the activity Look-For-Forms, the syntax for the Result Count token will be %(LookForForms_Result Count).
Tokens for each entry found
More tokens are available when this activity is used with the For Each Entry activity. The For Each Entry activity runs one time per entry. Each time it runs, the token values reflect the information relevant to the entry it is currently processing.
Name | Description | Sample Syntax* |
---|---|---|
CurrentEntry_Name | The name of the current entry. | %(ForEachEntry_CurrentEntry_Name) |
CurrentEntry_Id | The Laserfiche ID number of the current entry. | %(ForEachEntry_CurrentEntry_Id) |
CurrentEntry_Path | The folder path of the current entry. | %(ForEachEntry_CurrentEntry_Path) |
CurrentEntry_FullPath | The folder path of the current entry, including the entry's name. | %(ForEachEntry_CurrentEntry_FullPath) |
CurrentEntry_Repository | The repository the current entry is in. | %(ForEachEntry_CurrentEntry_Repository) |
CurrentEntry_Server | The Laserfiche Server that contains the current entry. | %(ForEachEntry_CurrentEntry_Server) |
CurrentEntry_Guid | The GUID (Globally Unique Identifier) of the current entry. | %(ForEachEntry_CurrentEntry_Guid) |
CurrentEntry_CheckOutComment | The comment associated with the current version of the entry. | %(ForEachEntry_CurrentEntry_CheckOutComment) |
CurrentEntry_CheckedOutBy | The user account that checked out the entry. | %(ForEachEntry_CurrentEntry_CheckedOutBy) |
CurrentEntry_CheckedOutBySID | The Security Identifier of the user account that checked out the entry. | %(ForEachEntry_CurrentEntry_CheckedOutBySID) |
CurrentEntry_ClassificationLevel | The VERS classification level of the entry. | %(ForEachEntry_CurrentEntry_ClassificationLevel) |
CurrentEntry_CreatedBy | The user account that created the entry. | %(ForEachEntry_CurrentEntry_CreatedBy) |
CurrentEntry_CreatedBySID | The Security Identifier of the user account that created the entry. | %(ForEachEntry_CurrentEntry_CreatedBySID) |
CurrentEntry_CreationDate | When the entry was created. | %(ForEachEntry_CurrentEntry_CreationDate) |
CurrentEntry_CutoffCycle | The name of the records management cutoff cycle governing the entry. | %(ForEachEntry_CurrentEntry_CutoffCycle) |
CurrentEntry_CutoffDate | When the record was cut off. | %(ForEachEntry_CurrentEntry_CutoffDate) |
CurrentEntry_CutoffEligibility | When the record become eligible for cutoff. | %(ForEachEntry_CurrentEntry_CutoffEligibility) |
CurrentEntry_CutoffInstruction | The name of the records management cutoff instruction that governs the found entry. | %(ForEachEntry_CurrentEntry_CutoffInstruction) |
CurrentEntry_CutoffInstructionType | The type of cutoff instruction. | %(ForEachEntry_CurrentEntry_CutoffInstructionType) |
CurrentEntry_ParentID | The Laserfiche ID number of the parent folder containing the found entry. | %(ForEachEntry_CurrentEntry_ParentID) |
CurrentEntry_ElectronicFileLastModifiedDate | When the electronic file associated with the document was last modified. | %(ForEachEntry_CurrentEntry_ElectronicFileLastModifiedDate) |
CurrentEntry_ElectronicFileSize | The file size of the electronic file associated with the document. | %(ForEachEntry_CurrentEntry_ElectronicFileSize) |
CurrentEntry_EntryLock | Specifies whether the found entry is currently locked. | %(ForEachEntry_CurrentEntry_EntryLock) |
CurrentEntry_EventDate | The set event date on a record. If a record has multiple events, Workflow still retrieves only one date. | %(ForEachEntry_CurrentEntry_EventDate) |
CurrentEntry_Extension | The file extension of the electronic file. | %(ForEachEntry_CurrentEntry_Extension) |
CurrentEntry_FilingDate | The filing date of the found entry, if the found entry is under records management. | %(ForEachEntry_CurrentEntry_FilingDate) |
CurrentEntry_FinalDispositionAction | The final disposition action type on the retention schedule governing the found entry. | %(ForEachEntry_CurrentEntry_FinalDispositionAction) |
CurrentEntry_FinalDispositionDate | The final disposition date on the found entry. | %(ForEachEntry_CurrentEntry_FinalDispositionDate) |
CurrentEntry_Geography | The geography object associated with the entry. | %(ForEachEntry_CurrentEntry_Geography) |
CurrentEntry_GeographyText | The human-readable description of the geography object associated with the entry. This is a string assigned by the user. | %(ForEachEntry_CurrentEntry_GeographyText) |
CurrentEntry_HasSubfolders | Indicates whether the found entry contains subfolders. | %(ForEachEntry_CurrentEntry_HasSubfolders) |
CurrentEntry_HasDocumentRelationships | Indicates whether the found entry contains document relationships. | %(ForEachEntry_CurrentEntry_HasDocumentRelationships) |
CurrentEntry_HasElectronicDocument | Indicates whether the found entry is associated with an electronic file. | %(ForEachEntry_CurrentEntry_HasElectronicDocument) |
CurrentEntry_HasImage | Specifies whether the found entry is a document that contains image pages. | %(ForEachEntry_CurrentEntry_HasImage) |
CurrentEntry_HasLocations | Indicates whether the document text is linked to locations on page images. | %(ForEachEntry_CurrentEntry_HasLocations) |
CurrentEntry_HasSubfolders | Indicates whether the found entry has subfolders. | %(ForEachEntry_CurrentEntry_HasSubfolders) |
CurrentEntry_HasTags | Indicates whether the found entry has assigned tags. | %(ForEachEntry_CurrentEntry_HasTags) |
CurrentEntry_HasText | Indicates whether the found entry contains text pages. | %(ForEachEntry_CurrentEntry_HasText) |
CurrentEntry_HasThumbnails | Indicates whether the found entry contains thumbnail images. | %(ForEachEntry_CurrentEntry_HasThumbnails) |
CurrentEntry_HitCount | The number of context hits. | %(ForEachEntry_CurrentEntry_HitCount) |
CurrentEntry_IsCheckedOut | Indicates whether the found entry is currently checked out. | %(ForEachEntry_CurrentEntry_IsCheckedOut) |
CurrentEntry_IsClosed | Indicates whether the found entry is a record that is closed. | %(ForEachEntry_CurrentEntry_IsClosed) |
CurrentEntry_IsCutoff | Indicates whether the found entry is a record that is cutoff. | %(ForEachEntry_CurrentEntry_IsCutoff) |
CurrentEntry_IsDispositioned | Indicates whether the found entry is a record that is in final disposition. | %(ForEachEntry_CurrentEntry_IsDispositioned) |
CurrentEntry_IsFrozen | Indicates whether the found entry is a record that is currently under hold. | %(ForEachEntry_CurrentEntry_IsFrozen) |
CurrentEntry_IsIndexed | Indicates whether the found entry is indexed. | %(ForEachEntry_CurrentEntry_IsIndexed) |
CurrentEntry_IsinRecordSeries | Indicates whether the found entry is in a record series. | %(ForEachEntry_CurrentEntry_IsinRecordSeries) |
CurrentEntry_IsLatestVersion |
Indicates whether the found entry is the highest position in a document link group. Note: This value defaults to True for documents that are not in a link group. |
%(ForEachEntry_CurrentEntry_IsLatestVersion) |
CurrentEntry_IsSigned | Indicates whether the found entry contains a digital signature. | %(ForEachEntry_CurrentEntry_IsSigned) |
CurrentEntry_IsVersionControlled | Indicates whether the found entry is under version control. | %(ForEachEntry_CurrentEntry_IsVersionControlled) |
CurrentEntry_IsVitalRecord | Indicates whether the found entry is a record that is marked as vital. | %(ForEachEntry_CurrentEntry_IsVitalRecord) |
CurrentEntry_LastModifiedBy | The user account that last modified the found entry. | %(ForEachEntry_CurrentEntry_LastModifiedBy) |
CurrentEntry_LastModifiedBySID | The SID of the user account that last modified the found entry. | %(ForEachEntry_CurrentEntry_LastModifiedBySID) |
CurrentEntry_LastModifiedDate | The last modified date of the found entry. | %(ForEachEntry_CurrentEntry_LastModifiedDate) |
CurrentEntry_LastReviewDate | The last time that a vital record was reviewed. | %(ForEachEntry_CurrentEntry_LastReviewDate) |
CurrentEntry_LatestVersionNumber | The latest version number of a document under version control. | %(ForEachEntry_CurrentEntry_LatestVersionNumber) |
CurrentEntry_LinkGroupNumber | The ID of the link group that found entry belongs to. | %(ForEachEntry_CurrentEntry_LinkGroupNumber) |
CurrentEntry_Location | The current location of the found record. | %(ForEachEntry_CurrentEntry_Location) |
CurrentEntry_LocationID | The ID of the current location of the found record. | %(ForEachEntry_CurrentEntry_LocationID) |
CurrentEntry_LockedBy | The user account that has a lock on the document. | %(ForEachEntry_CurrentEntry_LockedBy) |
CurrentEntry_LockedBySID | The SID of the user account that has a lock on the document. | %(ForEachEntry_CurrentEntry_LockedBySID) |
CurrentEntry_MimeType | The MimeType of the electronic file associated with the document. | %(ForEachEntry_CurrentEntry_MimeType) |
CurrentEntry_NextReviewDate | When the vital record is next due for review. | %(ForEachEntry_CurrentEntry_NextReviewDate) |
CurrentEntry_OCRedPages | The number of OCRed pages in the document. | %(ForEachEntry_CurrentEntry_OCRedPages) |
CurrentEntry_OwnerName | The user account that is marked as the owner of the document. | %(ForEachEntry_CurrentEntry_OwnerName) |
CurrentEntry_OwnerSID | The user account that is marked as the owner of the document. | %(ForEachEntry_CurrentEntry_OwnerSID) |
CurrentEntry_PageCount | The number of pages in the found document. | %(ForEachEntry_CurrentEntry_PageCount) |
CurrentEntry_CheckOutComment |
The check out comment if the found entry is currently checked out. |
%(ForEachEntry_CurrentEntry_CheckOutComment) |
CurrentEntry_RecordFolderId | The entry ID of the record folder that contains the found entry. | %(ForEachEntry_CurrentEntry_RecordFolderId) |
CurrentEntry_Relevance | The Laserfiche Full-Text Search Engine's relevance score for a found entry. | %(ForEachEntry_CurrentEntry_Relevance) |
CurrentEntry_RetentionSchedule | The Retention Schedule governing a record. | %(ForEachEntry_CurrentEntry_RetentionSchedule) |
CurrentEntry_ReviewandUpdateCyclePeriod | The review cycle that governs a vital record. | %(ForEachEntry_CurrentEntry_ReviewandUpdateCyclePeriod) |
CurrentEntry_Security | The allowed entry access rights for the user that is doing the search. | %(ForEachEntry_CurrentEntry_Security) |
CurrentEntry_SeriesCode | The record series code. This value only returns on the actual record series. | %(ForEachEntry_CurrentEntry_SeriesCode) |
CurrentEntry_ShortcutTargetID | The entry ID of the target of a shortcut. | %(ForEachEntry_CurrentEntry_ShortcutTargetID) |
CurrentEntry_ShortcutTargetType | The entry type of the target of a shortcut. | %(ForEachEntry_CurrentEntry_ShortcutTargetType) |
CurrentEntry_SignatureCount | The number of digital signatures on the document. | %(ForEachEntry_CurrentEntry_SignatureCount) |
CurrentEntry_TemplateColor | The color of the template that is assigned to the found entry. | %(ForEachEntry_CurrentEntry_TemplateColor) |
CurrentEntry_TemplateId | The ID of the template that is assigned to the found entry. | %(ForEachEntry_CurrentEntry_TemplateId) |
CurrentEntry_TemplateName | The name of the template that is assigned to the found entry. | %(ForEachEntry_CurrentEntry_TemplateName) |
CurrentEntry_TotalDocumentSize | The sum of the sizes of all parts of the found Laserfiche document (images, text, electronic file). | %(ForEachEntry_CurrentEntry_TotalDocumentSize) |
CurrentEntry_Type | Whether the found entry is a record series, folder, or document. | %(ForEachEntry_CurrentEntry_Type) |
CurrentEntry_Volume | The name of the Laserfiche volume that contains the pages of the found document. | %(ForEachEntry_CurrentEntry_Volume) |
CurrentEntry_VolumeId | The ID of the Laserfiche volume that contains the pages of the found document. | %(ForEachEntry_CurrentEntry_VolumeId) |
*The "ForEachEntry" portion of the syntax changes to match the activity's name as specified in the Activity Name property box. Note that all non-alphanumeric characters, except underscores, are removed from the name. For example, if you rename the activity Apply [Settings] to Each, the syntax for the CurrentEntry_Id token will be %(ApplySettingstoEach_CurrentEntry_Id).