Home Search

DriveWorks Pro 23
PDMPro: Get Latest Files

Send Feedback

PDMPro: Get Latest Files

This Specification Flow Task will get the latest version of multiple files from inside the vault.

Note: Ensure the SolidWorks PDM Plugin Settings is set up and enabled.

Properties

Property NameDescription
Source File PathsPipebar (|) delimited list of paths to the files you wish to get the latest version of (each must be inside the 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 Paths"C:\VaultName\VaultFolder\MyPart1.SLDPRT| C:\VaultName\VaultFolder\MyPart2.SLDPRT| C:\VaultName\VaultFolder\MyPart.SLDPRT3"C:\VaultName\VaultFolder\MyPart1.SLDPRT| C:\VaultName\VaultFolder\MyPart2.SLDPRT| C:\VaultName\VaultFolder\MyPart3.SLDPRTThis is a pipbar (|) delimited list of files that you want to get the latest version for.
Constant NameMyResultConstantMyResultConstantWhen the task is run, the result of whether the latest version of the files 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.

Outputs

  • Result

    A Table of results for the Get Latest operation on each file.

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 version of all files was successfully retrieved
  • One or more files are already of the latest version
  • One or more files are checked out locally

Success with Warnings

  • N/A - should never be fulfilled.

Failure (one of the following occurred)

  • On or more Files are not in the vault
  • One or more File paths are invalid
  • One of more File paths are empty
  • Get latest failed for one or more files. See the Specification report for details