This Specification Task will delete a given Document within the specified Specification.
|Specification Id||The Id of the Specification, set to 0 (zero) to remove the references for the current Specification.|
|Document Name||The file name of the Document to delete.|
|Delete File||Delete the file if it exists on disk.|
If there are two files with the same name, DriveWorks will check the file extensions to differentaite the files before deletion. Files with an incorect extension will be ignored.
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.
|Property Name||Example Rule||Example Result||Meaning|
|Specification Id||"44"||44||This is the Id of the Specification that will have the document removed.|
|Document Name||"Quote "&DWSpecification&".docx"||Quote 44.docx||This is the name of Document to be deleted. |
This is the name of the created Document and not the name you gave the Document in Stage 4: Output Rules.
|Delete File||TRUE||TRUE||TRUE will delete the Document if it exists on disk. FALSE will not delete the Document|
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 (one of the following occurred)
Success with Warnings
Failed (one of the following occurred)