Home Search

DriveWorks Pro 21
PDMPro: Get Latest File

Send Feedback

PDMPro: Get Latest File

This Specification Flow Task will get the latest file from inside the vault.

Note: Before pulling the latest file from a vault, review the PDM plugin settings, specify a path for the vault and the user that is pulling the latest file. Without these specifications, the task will fail to run.

Properties

Property NameDescription
Source File PathPath of the file to get the latest version of (must be inside vault).
Constant Name The name of the Constant into which the result should be driven (Optional).

Examples

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.

Property NameExample RuleExample ResultMeaning
Source File Path"C:\VaultName\VaultFolder\MyPart.SLDPRT"C:\VaultName\VaultFolder\MyPart.SLDPRTThis is the file that you want to get the latest version for.
Constant NameMyResultConstantMyResultConstantWhen the task is run, the result of whether the latest version of the file was successfully retrieved or not will be written to this Constant.

Using the Task in a Specification Macro

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.

Status Outputs

This task supports Status Outputs. They 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

  • Latest file was successfully retrieved

Success with Warnings

  • N/A - should never be fulfilled.

Failure (one of the following occurred)

  • File is not in the vault
  • File path is invalid
  • File path is empty
  • Get latest failed