Difference between revisions of "Activity:DeleteFile (Activity)"
(→Example) |
|||
Line 1: | Line 1: | ||
+ | The DeleteFileactivity deletes one or more files specified by its full path. | ||
+ | |||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Delete File | | title = Delete File | ||
Line 9: | Line 11: | ||
| version = 2.3+ | | version = 2.3+ | ||
}} | }} | ||
− | |||
− | ==Arguments== | + | ===Arguments=== |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
Line 23: | Line 24: | ||
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
This activity deletes files specified by full path names given in the '''IN''' arguments '''SingleFileNamefiles''' and '''FileNames'''. | This activity deletes files specified by full path names given in the '''IN''' arguments '''SingleFileNamefiles''' and '''FileNames'''. | ||
It returns the number of actual deleted files. | It returns the number of actual deleted files. | ||
Line 36: | Line 37: | ||
|} | |} | ||
+ | <!-- DO NOT REMOVE THIS -->{{Template:Activity/End}}<!-- DO NOT REMOVE THIS --> | ||
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
* [[Activity:DeleteDirectoryContent_(Activity)]] | * [[Activity:DeleteDirectoryContent_(Activity)]] | ||
− | |||
− | |||
− |
Revision as of 09:14, 4 November 2015
The DeleteFileactivity deletes one or more files specified by its full path.
Delete File | |
---|---|
Name | DeleteFile |
Purpose | Delete a file |
Category | File Primitives |
Returns | Number of deleted files |
Version | 2.3+ |
Arguments
Argument | Type | Direction | Purpose |
---|---|---|---|
FileNames | List<String> | In | List of full path names of files to be deleted |
Result | Integer | Out | Number of deleted file |
SingleFileName | String | In | Full path name of a file to be deleted |
Usage
This activity deletes files specified by full path names given in the IN arguments SingleFileNamefiles and FileNames. It returns the number of actual deleted files.