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 of No and deletion fails, the activity is still completed and the documents or folder remain in the same location.
  5. To display a message when the deletion fails and the job is not suspended, consume the variable in the Error Message Variable box.
  6. Click Save.