Skip to main content

Delete Directory

Description

Use this Activity to delete a specified directory and all its subdirectories and files.

Properties

Input

  • Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
note

Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.

  • Path – Specify the path to delete the directory.
  • Recursive – Based on the Boolean values (true or False), If it is true, it will delete all directories, subdirectories, and files located at the specified path.

Misc

  • DisplayName – Add a display name to your Activity.
  • Private – By default, Activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

Example

Download Example

Correlation Scope