Download Electronic Document
This activity downloads the electronic file associated with a Laserfiche electronic document. The electronic file is available as a token.
Example: Retrieve the electronic file associated with a Laserfiche document and use the token containing the electronic file in the attachment field of an Email activity).
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.
-
Download From
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.
-
Tokens
The Download Electronic Document activity produces the following token.
Name Description Sample Syntax* Result File The electronic file associated with the Laserfiche document. %(DownloadElectronicDocument_Result File) File Name The file name of the electronic file. %(DownloadElectronicDocument_FileName) Extension The file extension of the electronic file. %(DownloadElectronicDocument_Extension) Mimetype The mime type of the electronic file. %(DownloadElectronicDocument_Mimetype) Has Electronic Document Whether there is an electronic file associated with the Laserfiche document. %(DownloadElectronicDocument_HasElectronicDocument) *The "DownloadElectronicDocument" portion of the syntax changes to match the activity's name as specified in the Activity Name property box. All non-alphanumeric characters, except underscores, are removed from the name.
Example: If you rename the activity "Download-ElectronicDocument!," the syntax for the Result File token will be %(DownloadElectronicDocument_Result File).