DriveWorks Pro 18: PDMPro: Get Next Serial Number [send feedback...]

PDMPro: Get Next Serial Number

This Specification Flow Task will generate a serial number.

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

Properties

Property NameDescription
Serial Number GeneratorThe name of the serial number generator.
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
Serial Number GeneratorAssemblyNSerialNumberAssemblyNSerialNumberWill get the next serial number from the generator AssemblyNSerialNumber
Constant NameDWConstantAssySerialNumberDWConstantAssySerialNumberWill send the result 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

  • New Serial Number

    The new serial number generated in the current vault.

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

  • Serial number generated and passed to node output.

Success with Warnings

  • N/A - should never be fulfilled.

Failure (one of the following occurred)

  • Not logged in
  • Invalid vault
  • Serial number generator not valid
  • Cannot create serial number

Table of Contents