Tokens for For Each Entry Activity
This activity produces the following tokens:
| 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) |
| 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.
Note: 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 is "%(ApplySettingstoEach_CurrentEntry_Id)".