Configure a Delete activity

  1. Add a Delete activity to the map. See Add an activity.
  2. On the Extended Properties page of the Delete activity, click the Configuration tab.
  3. To configure input for the delete activity, consume the variable in the Input Document/Folder box.

    Use a Folder or Document type variable as input to a Delete activity. See Create a document variable and Create a folder variable.

  4. To suspend the job when the deletion fails, click Yes for Suspend Job If Deletion Fails. If deletion fails at runtime, the job is automatically suspended and the job note is updated with the reason for suspension. (Default: No)
    Note If you keep the default setting as No and deletion fails, the activity is still completed and the documents or folder remain in the same location.
  5. By default, the deleted documents are marked as complete at runtime so that you can differentiate between documents that have completed capture processing and the documents that are yet to be processed. Marking the documents as deleted is specifically useful when you delete invalid documents that you do not want to run analytics on. If the Delete activity is not the end of document processing, you can chose not to mark the document as completed by clicking No for Mark Completed.
  6. To display a message when the deletion fails and the job is not suspended, consume the variable in the Error Message Variable box.
  7. Click Save.