For Each Entry

This activity runs the activities inside for each Laserfiche entry in a collection of entries that was returned or generated by a previous activity in your workflow definition. You must define which entries this activity will be performed on. See the tokens this activity produces.

ClosedHow does this activity look in the Designer Pane?

ClosedSee an animation of this activity

To add this activity to a workflow definition

To configure this activity

Drag and drop activities into this activity.

Select the activity in the Designer Pane to configure the following property boxes in the Properties Pane.

Tokens for For Each Entry

The For Each Entry activity makes the following token, which are available to activities placed inside it. 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)
Iteration The number of times the For Each Entry activity has run. %(ForEachEntry_Iteration)

*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).