Change Starting Entry
This activity changes the starting entry to a specified entry, or updates the Entry Name and Entry Path tokens to reflect the entry’s current name and path. See the tokens this activity produces.
Note: All the activities listed below the Change Starting Entry activity in the Designer Pane act on the entry specified in this activity by default.
How does this activity look in the Designer Pane?
- 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.
See the following options:
-
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.
-
Entry
To select which entry or entries an activity will act on
- Add the 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.
- In the Properties Pane, in the appropriate property box, choose which entry the activity will act on.
- Starting Entry: The entry the workflow began with.
- Other Entry: To choose an entry that was returned or created in a previous step in the current workflow, click the Select link and choose an entry from the Select Entry dialog box.
Note: Some activities do not have the starting entry selected by default. If you are configuring one of these activities, click the Select link to choose an entry for the activity to act on.
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 Change Starting Entry
The Change Starting Entry activity produces the following tokens.
Name | Description | Sample Syntax* |
---|---|---|
PreviousEntry_Name | The name of the original starting entry. | %(ChangeStartingEntry_PreviousEntry_Name) |
PreviousEntry_Id | The Laserfiche ID number of the original starting entry. | %(ChangeStartingEntry_PreviousEntry_Id) |
PreviousEntry_Path | The folder path of the original starting entry. | %(ChangeStartingEntry_PreviousEntry_Path) |
PreviousEntry_FullPath | The folder path of the original starting entry, including the entry's name in the path. | %(ChangeStartingEntry_PreviousEntry_FullPath) |
PreviousEntry_Repository | The repository the original starting entry was in. | %(ChangeStartingEntry_PreviousEntry_Repository) |
PreviousEntry_Server | The Laserfiche Server that contained the original starting entry. | %(ChangeStartingEntry_PreviousEntry_Server) |
PrevousEntry_Guid | The GUID (Globally Unique Identifier) of the original starting entry. | %(ChangeStartingEntry_PreviousEntry_Guid) |
OutputEntry_Name | The name of the starting entry specified by the Change Starting Entry activity. | %(ChangeStartingEntry_OutputEntry_Name) |
OutputEntry_Id | The Laserfiche ID number of the starting entry specified by the Change Starting Entry activity. | %(ChangeStartingEntry_OutputEntry_Id) |
OutputEntry_Path | The folder path of the starting entry specified by the Change Starting Entry activity. | %(ChangeStartingEntry_OutputEntry_Path) |
OutputEntry_FullPath | The folder path of the starting entry specified by the Change Starting Entry activity, including the entry's name in the path. | %(ChangeStartingEntry_OutputEntry_FullPath) |
OutputEntry_Repository | The repository that contains the starting entry specified by the Change Starting Entry activity. | %(ChangeStartingEntry_OutputEntry_Repository) |
OutputEntry_Server | The Laserfiche Server that contains the starting entry specified by the Change Starting Entry activity. | %(ChangeStartingEntry_OutputEntry_Server) |
OutputEntry_Guid | The GUID (Globally Unique Identifier) of the starting entry specified by the Change Starting Entry activity. | %(ChangeStartingEntry_OutputEntry_Guid) |
EntryWasFound | Whether the new starting entry selected by the Change Starting Entry activity was successfully found in the Laserfiche repository. This token can have one of two values: True or False. | %(ChangeStartingEntry_EntryWasFound) |
*The "ChangeStartingEntry" 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 'Refresh' Tokens, the syntax for the PreviousEntry_Id token will be %(RefreshTokens_PreviousEntry_Id).