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

Copy Closed Child Specification

The Copy Closed Child Specification task will copy the specified Child Specification without opening it.

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.
Child Specification NameThe name of the Specification to copy. (Not required if using Specification Index)
Child Specification IndexThe index of the Child Specification to copy. (Not required if using Specification Name)
Child Specification ListThe name of the Child Specification List to copy within.
Copied Specification Name Constant NameThe name of the Constant to place the name of the copied Child 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
134DriveWorks Child Project 0134

Specification Name

Example shown for when the Specification Name is used.

Property NameExample RuleExample ResultMeaning
Child Specification Name"DriveWorks Child Project "&SpecificationIdReturnDriveWorks Child Project 0134Will create a copy of the Specification with the name DriveWorks Child Project 0134.
Child Specification ListChildSpecList1ChildSpecList1Will copy the Child Specification from the Child Specification List Control named ChildSpecList1.
Copied Specification Name Constant NameDWConstantCopiedSpecificationDWConstantCopiedSpecificationThe Name of the copied specification will be written to this constant.

Specification Index

Example shown for when the Specification Index is used.

Property NameExample RuleExample ResultMeaning
Child Specification IndexChildSpecRowReturn3Will create a copy of the Child Specification on row 3 of the Child Specification List.
Child Specification ListChildSpecList1ChildSpecList1Will copy the Child Specification from the Child Specification List Control named ChildSpecList1.
Copied Specification Name Constant NameDWConstantCopiedSpecificationDWConstantCopiedSpecificationThe Id of the copied specification will be written to this constant.

Example Results

Where 144 is the next available Specification Id.

Specification Name

The Output results for the example would be:

Output NameOutput Value
Created Id144
Created NameDriveWorks Project 0144

Specification Index

The Output results for the example would be:

Output NameOutput Value
Created Id144
Created NameDriveWorks Project 0144

Table of Contents