This Specification Task will change the state of a file inside the vault.
| Property Name | Description |
|---|---|
| Source File Path | Full path to the file whose state will be changed. |
| State Name | The name or id of the state to move the file to. |
| Transition Name | The name or ID of the transition to be used. |
| Comment | The comment to use when changing the file state (Optional). |
| Constant Name | The name of the Constant into which the result should be driven (Optional). |
| Property Name | Example Rule | Meaning |
|---|---|---|
| Source File Path | "C:\PDM Vault\DriveWorks\TestFile.txt" | The TextFile.txt will be the file whose state is changed. |
| State Name | “Approved” | The file will be moved to the “Approved” state. |
| Transition Name | “No Approval Required” | The transition called “No Approval Required” will be run. |
| Comment | “DriveWorks Automation” | The file history will display the comment “DriveWorks Automation” |
| Constant Name | DWConstantReporting | The Constant called “Reporting” will be driven to the result of the task. |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros.
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.
The status output navigation is as follows:
Success
Success with Warnings
Failed