Folder Delete Action
The Folder Delete Action node deletes one or more folders from the file system.
The specified directories can be removed even if they contain files and subfolders, depending on the configured behavior. The operation is performed on the host system where the stream is executed (client or server).
Input Parameters
Folder Path List of folder paths (including folder names) that should be deleted.
Not Empty Defines how the node behaves if the folder contains files or subfolders:
DELETE_ANYWAY — delete the folder and all its contents recursively
SKIP — leave the folder unchanged and continue the workflow
FAIL — stop the node with an error

Behavior
Deletes entire directories
Can remove folders recursively with all contents
Processes multiple folders in a single execution
Supports asynchronous execution
Typical Use Cases
removing project working directories
cleaning temporary processing folders
archive housekeeping workflows
deleting failed job outputs
resetting watchfolder environments
Important Note
Using DELETE_ANYWAY permanently removes the folder and everything inside it. The deletion bypasses any recycle bin or trash functionality provided by the operating system.
Practical Tip
This node is typically used at the end of automated workflows to remove working directories after delivery, archiving, or transfer has successfully completed.
Last updated