The Copy Folder task will copy or move an existing folder to a new location.
|Source||The path to source folder.|
|Destination||The path to destination folder.|
|Move||TRUE to move the folder, FALSE to copy it.|
|Overwrite||TRUE to overwrite the destination folder if it already exists, FALSE to leave it alone.|
|Title||Changes the Title (not the name) of the task.|
When this task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.
|Property name||Example rule||Example result||Meaning|
|Source||"[Machine Name]\Content\" & DWVariableFolderName||[Machine Name]\Content\CopyFolder||DriveWorks evaluates the rule and concatenates specified folder location text and folder name variable to identify the source folder.|
|Destination||"[Machine Name]\" & DWVariableGeneratedFolder||[Machine Name]\Generated||DriveWorks evaluates the rule and concatenates specified folder location text and folder name variable to create the destination folder path.|
|Move||MoveFolderReturn||True||If MoveFolderReturn=True, the folder would be moved to the new designated location, otherwise a copy of the folder would be made in the new location.|
|Overwrite||OverwriteFolderReturn||True||If the value coming from the Form Control OverwriteFolder is TRUE, the folder would replace any existing folder in the designated location with the same name, otherwise the folder would be copied/moved into the designated location as long as no folder with that name already existed.|
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success with Warnings
Failed (one of the following occurred)