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.

  1. Click below the Start node or any other node.

    The Add activity dialog box is displayed.

  2. On the Type list, select the activity type.
  3. By default, "Delete documents" appears as the Title. You can change the title as needed.
  4. 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."
  5. Optional. In the Delete after field, set the number of days after which the document should be deleted. (Default: 0 days, maximum: 60 days)
  6. Specify a State to apply when the task becomes available or is pending.
  7. Click Add.

    The Delete documents activity is added to the process.