The Copy Closed Specification task will copy the specified Specification.
Property Name | Description |
---|---|
Title | Changes 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 Name | The name of the Specification to copy. (Not required if using Specification Id) |
Specification Id | The Id of the Specification to copy. (Not required if using Specification Name) |
Copied Specification Id Constant Name | The name of the Constant to place the Id of the copied Specification into (This is optional). |
Specification Id | Specification Name |
---|---|
133 | DriveWorks Project 0133 |
Example shown for when the Specification Name is used.
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Specification Name | "DriveWorks Project "&SpecificationIdReturn | DriveWorks Project 0133 | Will create a copy of the Specification with the name DriveWorks Project 0133. |
Copied Specification Id Constant Name | DWConstantCopiedSpecification | DWConstantCopiedSpecification | The Id of the copied Specification will be written to this Constant. |
Example shown for when the Specification Id is used.
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Specification Id | SpecToCopyReturn | 133 | Will create a copy of the Specification with the Id 0133. |
Copied Specification Id Constant Name | DWConstantCopiedSpecification | DWConstantCopiedSpecification | The Id of the copied Specification will be written to this Constant. |
Where 141 is the next available Specification Id.
The Output results for the example would be:
Output Name | Output Value |
---|---|
Created Id | 141 |
Created Name | DriveWorks Project 0141 |
The Output results for the example would be:
Output Name | Output Value |
---|---|
Created Id | 141 |
Created Name | DriveWorks Project 0141 |
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.
Output Name | Description |
---|---|
Created Id | The Id of the new Specification that was created. |
Created Name | The Name of the new Specification that was created. |
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 (one of the following occurred)
Success with Warnings (one of the following occurred)
Failed (one of the following occurred)