Skip to main content

List Directory

This activity retrieves and lists all files and subdirectories from a specified directory path. The result is stored in an output variable for further processing in automation workflows.

Core Functions​

  • Reads the content of a specified directory
  • Retrieves files and subfolders inside the given path
  • Stores directory listing into an output variable
  • Supports optional execution delays
  • Provides error-handling control during execution

Inputs​

  • Path: Specifies the directory path to be listed
    Type: String

  • Delay Before: Defines the wait time before the activity starts execution
    Type: Int32 / TimeSpan

  • Delay After: Defines the wait time after the activity completes
    Type: Int32 / TimeSpan

  • Description: Provides a short description of the activity for documentation purposes
    Type: String

  • Display Name: Defines the name shown for the activity in the workflow
    Type: String

  • Ignore Error: Determines whether errors should be ignored during execution
    Type: Boolean

Outputs​

  • Output: Returns a collection of files and directories found in the specified path
    Type: List / Array (String or FileInfo depending on implementation)

Short Technical Summary​

Lists all files and subdirectories from a given directory path and returns the results as a structured output for further automation processing.