DirectoryCreateActivity
Category: File Operations Namespace: CMS.Plugin.FlowManagement.Domain.FlowBusiness.Activitys Base Class: ActionActivity Module: FlowManagement.Domain
Overview
DirectoryCreateActivity (Create Directory) is a node used to create directories in the process. It inherits from ActionActivity and supports creating a directory at a specified path. It does not error if the directory already exists.
Configuration Description
| Property Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Directory | string | Yes | - | Directory path to create |
Usage Examples
{
"Type": "DirectoryCreateActivity",
"Name": "Create Output Directory",
"Alias": "CreateOutputDir",
"Directory": "C:\\Output\\2024"
}
Notes
- 💡 Does not throw exception if directory already exists.
- 💡 Automatically creates all necessary parent directories.
Related Nodes
- DirectoryCopyActivity: Copy Directory Node
- DirectoryDeleteActivity: Delete Directory Node
Update History
| Date | Version | Description |
|---|---|---|
| 2025-11-28 | 1.0 | Initial version |
Last updated: 2025-11-28