Home Search

DriveWorks Pro 22
Create Folder

Send Feedback

Create Folder

This Specification Flow Task creates a new folder if it doesn't already exist. The folder can be rooted, or relative to the specification path.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
Folder NameFolder name relative to the specification folder. If a full path is used, the specification folder will be ignored.

Example

When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.

Full File Path Example

Property NameExample RuleExample ResultMeaning
Folder Name"C:\MyDocuments\Order"&DWSpecificationId&"\Docs"C:\MyDocuments\Order9999\DocsThis will create a folder called Documents in the folder Order for that specific Specification Id

Folder Name Example

Property NameExample RuleExample ResultMeaning
Folder Name"Documents"DocumentsThis will create a folder called Documents in the current Specification Folder.

Using the Task in a Specification Macro

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.

Status Outputs

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

  • Folder was created successfully.

Success with Warnings

  • The folder already exists.

Failed

  • There was an error creating the folder.