DriveWorks Pro 16: Copy Closed Specification [send feedback...]

Copy Closed Specification

The Copy Closed Specification task will copy the specified Specification.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
When applying this task to a Specification Macro the title can be changed by clicking in the header of the applied task.
Specification NameThe name of the Specification to copy. (Not required if using Specification Id)
Specification IdThe Id of the Specification to copy. (Not required if using Specification Name)
Copied Specification Id Constant NameThe name of the Constant to place the Id of the copied Specification into (This is optional).

Outputs

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 Specification Flow.

Data Outputs

Output NameDescription
Created IdThe Id of the new Specification that was created.
Created NameThe Name of the new Specification that was created.

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.

Example

Example Specification

Specification IdSpecification Name
133DriveWorks Project 0133

Specification Name

Example shown for when the Specification Name is used.

Property NameExample RuleExample ResultMeaning
Specification Name"DriveWorks Project "&SpecificationIdReturnDriveWorks Project 0133Will create a copy of the Specification with the name DriveWorks Project 0133.
Copied Specification Id Constant NameDWConstantCopiedSpecificationDWConstantCopiedSpecificationThe Id of the copied Specification will be written to this Constant.

Specification Id

Example shown for when the Specification Id is used.

Property NameExample RuleExample ResultMeaning
Specification IdSpecToCopyReturn133Will create a copy of the Specification with the Id 0133.
Copied Specification Id Constant NameDWConstantCopiedSpecificationDWConstantCopiedSpecificationThe Id of the copied Specification will be written to this Constant.

Example Results

Where 141 is the next available Specification Id.

Specification Name

The Output results for the example would be:

Output NameOutput Value
Created Id141
Created NameDriveWorks Project 0141

Specification Id

The Output results for the example would be:

Output NameOutput Value
Created Id141
Created NameDriveWorks Project 0141

Table of Contents