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

EPDM: Delete a folder from vault

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

Note: The vault the folder 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.
Make sure that the folder you wish to delete is empty, otherwise the task will fail.
See the Task called EPDM: Delete a file from vault if you wish to delete the files it contains first.


Property NameDescription
Source Folder NameFolder Name to delete (must be inside the vault). This must be the full path to the folder i.e. C:\VaultName\VaultFolder.
Constant NameOptional name of the constant that the result will be posted to for reference
TitleChanges the Title (not the name) of the task.


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 folder and reporting the state of the Task in a DriveWorks Constant.

The folder to delete is called FolderToDelete and is located under C:\VaultName\VaultFolder.

The Constant used for reporting is called DeleteFolderFromVaultResult.

PropertyExample ruleExample resultMeaning
Source File NameDWVariableVaultLocation & FolderToDeleteReturnIf the variable VaultLocation equals "C:\VaultName\VaultFolder\" and the FolderToDelete control value equals "FolderToDelete", the path would be evaluated to "C:\VaultName\VaultFolder\FolderToDelete".DriveWorks will delete the vault folder "C:\VaultName\VaultFolder\FolderToDelete".
Constant NameDWConstantDeleteFolderFromVaultResultSuccessfully deleted the folder 'C:\VaultName\VaultFolder\FolderToDelete'DriveWorks will put the result of the Task in the constant called DeleteFolderFromVaultResult.

Table of Contents