If you have a problem understanding how the action works, check: Automatic tasks, Conditional execution, Components params
Category: Attachment
Available from version: 1.0.23
The component downloads documents attached to the process or from the archive and saves them to the indicated location on the disk.
Parameter name | From version | Description | Paremeter type | Default value | Field type | Comments and restrictions | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Files download source* | 1.0.23 | Specifies the source from which files should be downloaded. There are 3 options:
| Text |
| Editable field |
| ||||||||
Select document class* | 1.0.23 | Decides whether downloading of documents attached to a process should be narrowed down by selecting a specific class of documents. When the parameter is set to No, all documents will be taken into account, no matter what class of documents they belong to. | Logic | No | Editable field | The parameter is available after selecting the Process option in Files download source parameter. | ||||||||
Document class* | 1.0.23 | The name of the document class from which documents will be retrieved. | Text | Uneditable drop-down list | ||||||||||
Index name | 1.0.23 | Optional filtering by indexes of the selected document class. This parameter specifies the name of the index. | Text | Uneditable drop-down list / editable field | Index list after selecting a document class from the list. If a variable or function is used in the Document class parameter, this parameter becomes an editable field. | |||||||||
Index value | 1.0.23 | Optional filtering by indexes of the selected document class. This parameter specifies the value of the index. | Text | Editable field | ||||||||||
Download the newest version | 1.0.23 | Downloads the latest version of the document in case the document has more than one version. | Logic | Yes | Editable field | The parameter is available after selecting File identifiers from the archive option in Files download source parameter. | ||||||||
File identifiers | 1.0.23 | Document identifiers to download from the archive. | Integer values table | Editable field | ||||||||||
Katalog* | 1.0.23 | The path to save the file on the disk. The parameter indicates the location under which the documents attached to the process or from the archive will be saved. | Text | Editable field | ||||||||||
Nazwa pliku | 1.0.23 | The name of the file saved on the disk. With the help of context variables: File name with extension, File name without extension, File extension, the target file name can be changed. | Function | Editable field | The field is optional. If no value is entered, the field will be completed with the original file name. |
Parameter*- mandatory field
In a situation where several documents with the same name will be saved, they would be saved with consecutive numbers in the name, e.g. file.txt, file (1).txt, file (2).txt. If a file is uploaded to a directory where a file with the same name already exists, it is overwritten.
Context variable name | From version | Description | Parameter type |
---|---|---|---|
File name with extension | 1.0.23 | Stores the file name with extension of the currently processed document. | Text |
File name without extension | 1.0.23 | Stores the file name without extension of the currently processed document. | Text |
File extension | 1.0.23 | Stores the file extension of the currently processed document. | Text |
1.0.23
- Component adding