Skip to main content

Get Directory

Description

This Activity retrieves the directories and subdirectories under the specified path.

Properties

Input

  • Path – Specify the directory's path from where we fetch the folders.
  • Recursive - If True, the output will include both the parent directory and its subdirectories.

Misc

  • DisplayName – Add a display name to your Activity.
  • Private – Logs the variable and argument values at the Verbose level when unchecked.

Optional

  • 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.

.

  • Hidden Directory - If True, the output will include any hidden directories in the parent directory.
  • Search Pattern - Use the directory name pattern to apply a filter when searching for a directory.

Output

  • Directory – Returns the Directory object for the specified path.

Example

Download Example

Correlation Scope