Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

Delete Task

Delete Task

The Delete task can delete one or more files, or a directory, from a local file system or from an authorized network share.
Field
Definition
Basic Tab
Label
Specify a label for this task.
File
Specify the path and name of the file to be deleted. e.g. /folder/subfolder/file.ext
Input Files Variable
Specify the name of a variable of type File List which contains the files to delete. For example, ${variableName}
Directory
Specify a single directory to delete. WARNING: The specified directory and all of its contents will be removed.
Output Variables Tab
Number of Files Deleted Variable
If desired, specify the name of a variable which will contain the number of files deleted. The variable may be used in subsequent tasks. The variable will be created if it does not exist.
Control Tab
Version
The version of this task.
Log Level
Specify the level of logging to use while executing this task. Valid options are - silent, normal, verbose and debug.
Default Value: Inherited from parent Module
Execute Only If
Specify a condition that must be satisfied before this task can be executed. This task will be skipped if the specified condition is not met.
Disabled
Whether or not this task is disabled.
Default Value: false
On Error Tab
On Error
Specify the action to take when this task errors out. Valid options are - abort, continue, call:[module] and setVariable:[name]=[value]. For call:[module] replace [module] with the name of the module in the project (e.g. call:ErrorModule). For setVariable:[name]=[value] replace [name] with a variable name and [value] with the variable value (e.g. setVariable:error=true).
Default Value: Inherited from parent Module
This task uses the File Set Elements. The field definitions for the File Set Elements can be found on the File Lists and File Sets topic.

0 COMMENTS

We’d like to hear from you!