Add a Delete documents activity
Use the Delete activity to automatically delete a folder or document at runtime. You can also specify a waiting period before the document is deleted.
-
Click
below the Start node or any other node.
The Add activity dialog box is displayed.
- On the Type list, select the activity type.
- By default, "Delete documents" appears as the Title. You can change the title as needed.
- On the Input document/folder list, select the input folder or document variable, otherwise, an error is displayed stating "An input folder or document variable must be selected."
- Optional. In the Delete after field, set the number of days after which the document should be deleted. (Default: 0 days, maximum: 60 days)
- Specify a State to apply when the task becomes available or is pending.
-
Click
Add.
The Delete documents activity is added to the process.