DriveWorks Pro 15: EPDM: Delete a file from vault [send feedback...]

EPDM: Delete a file from vault

This Specification Flow Task will delete a file from inside the vault.

Note: The vault the file will be deleted from is the vault specified in the EPDM plugin settings and the user with which it will be deleted by is the user also specified in the EPDM plugin settings. Make sure that the path that you specify falls under the vault otherwise the task will fail.

Properties

Property NameDescription
Source File NameFile Name to delete (must be inside the vault). This must be the full path to the file i.e. C:\VaultName\VaultFolder\MyPart.SLDPRT.
Constant Name Optional name of the constant that the result will be posted to for reference
TitleChanges the Title (not the name) of the task.

Example

When this task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Deleting a file and reporting the state of the Task in a DriveWorks Constant.

The file to delete is called MyModel.SLDPRT and is located under C:\VaultName\VaultFolder.

The Constant used for reporting is called DeleteFileFromVaultResult.

PropertyExample ruleExample resultMeaning
Source File NameDWVariableVaultLocation & FileToDeleteReturnIf the variable VaultLocation equals "C:\VaultName\VaultFolder\" and the FileToDelete control value equals "MyModel.SLDPRT", the path would be evaluated to "C:\VaultName\VaultFolder\MyModel.SLDPRT".DriveWorks will delete the vault file "C:\VaultName\VaultFolder\MyModel.SLDPRT".
Constant NameDWConstantDeleteFileFromVaultResultSuccessfully deleted 'C:\VaultName\VaultFolder\MyModel.SLDPRT'DriveWorks will put the result of the Task in the constant called DeleteFileFromVaultResult.

Table of Contents