Configure a Delete activity

  1. Add an activity to the map.

    By default, the Configuration tab is open in the properties panel of the activity.

  2. Change the default Name of the activity to something meaningful.
  3. On the Type list, select Capture > Delete.
  4. Configure the following properties.
    Input document/folder

    A Folder or Document variable as an input to the activity. See Create a document variable and Create a folder variable.

    Suspend job if deletion fails

    By default, the job is suspended if deletion fails and automatically updates the job note with the reason for suspension.

    If clear, completes the activity even when deletion fails so that the documents or folder remain in the same location.

    Error message variable

    A String variable to display a message when the deletion fails and the job is not suspended.

    Deletion succeeded

    A Boolean variable to display a message that the deletion is successful.

    Mark completed

    If selected, marks the completion of deleted documents at runtime so that you can differentiate between documents that have completed capture processing and the documents that are yet to be processed.

    Note Marking the documents as deleted is specifically useful when you delete invalid documents that you do not want to run analytics on.

    Keep it clear if you do not want the Delete activity to be the end of document processing.

  5. Save the process map.