This Specification Flow Task will check a folder out (if it's available) and update the data card.
Please see the following articles to ensure the DriveWorks plugin and SOLIDWORKS PDM are set up correctly.
Folder Data Card Values
The folder data card in SOLIDWORKS PDM must be pre-populated with default values for the Field Names being driven.
For example, the folder data card field can have a value of 0 or -, but not be empty.
When this task is added, the properties are
| Property Name | Description |
|---|---|
| Source Folder Path | The full path of the folder whose data will be updated. |
| Field Names | Pipebar (|) delimited string of the field names. |
| Field Values | Pipebar (|) delimited string of the new field values. |
| Constant Name | (Optional) The name of the Constant into which the result should be driven. |
| Property Name | Example Rule | Example Result | Meaning |
|---|---|---|---|
| Source Folder Path | "C:\VaultName\VaultFolder\MyFolder" | C:\VaultName\VaultFolder\MyFolder | This is the file path to the folder whose data card will be updated. |
| Field Names | "Project|SpecificationNumber|Customer" | Project|SpecificationNumber|Customer | These are the field names to update. |
| Field Values | DWProjectName &"|"& DWSpecificationID &"|"& CustomerReturn | MyProject|0075|DriveWorks | These are the values the fields are updated with. |
| Constant Name | DWConstantUpdateFolder | DWConstantUpdateFolder | The result will be written to this Constant.
When a Field Name is given that does not exist on the data card an error string will be returned within the array.
This can be handled by using an error function (such as IfErrorString. |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros.
A table containing the results of the data update.
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
Success with Warnings
Failure (one of the following occurred)