Remove File
The Remove File activity is a synchronous activity that removes the specified files from the directory. If the specified directory is not empty, it generates an exception.
General
The General tab has the following fields.
| Field | Literal Value/ Process Property/ Module Property | Description |
|---|---|---|
| Name | None | The name of the file to be displayed as the label of the activity in the process. |
| FileName | Yes | The path and name of the file to be removed from the directory. |
| Include Timestamp | None | Select the check box to display timestamp, in addition to the date. |
Output
The following is the output for the activity.
| Output Item | Datatype | Description |
|---|---|---|
| fileInfo | complex | This element contains the fullName, fileName, location, type, readProtected, writeProtected, size, and lastModified data. |
| fullName | string | The name of the file (or empty directory) and the file path information. |
| fileName | string | The name of the file (or empty directory) without file path information. |
| location | string | The path to the file or the empty directory. |
| ConfiguredFileName | string | An optional element. This element is not populated by this activity. |
| type | string | The file type. |
| readProtected | boolean | Signifies whether the file or (or empty directory) is protected from reading |
| writeProtected | boolean | Signifies whether the file or (or empty directory) is protected from writing |
| size | integer | The size of file in bytes. |
| lastModified | string | The timestamp indicating when the file was last modified. |
Copyright © Cloud Software Group, Inc. All rights reserved.
