Home Search

DriveWorks Pro 23
PDMPro: Get Multiple Serial Numbers

Send Feedback

PDMPro: Get Multiple Serial Numbers

This Specification Flow Task will generate multiple new serial numbers.

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

Properties

Property NameDescription
Serial Number GeneratorThe name of the serial number generator.
QuantityThe quantity of new serial numbers to be generated (Cannot be greater than 1000).

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 multiple serial numbers from the generator AssemblyNSerialNumber
Quantity120120120 new serial numbers will be generated.

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 Numbers

    A Table of new serial numbers 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 numbers generated and passed to node output.

Success with Warnings

  • N/A - should never be fulfilled.

Failure (one of the following occurred)

  • Quantity is not an integer
  • Quantity is less than 1
  • Quantity is greater than 1000
  • Not logged in
  • Invalid vault
  • Serial number generator not valid
  • Cannot create serial numbers. See Specification report for details