Variable length condition in a transition

Hi all,

Using PDM Pro 2017 SP05, is it possible to setup a transition condition on a variable length (in digit) ?

ie : only permit the transition if the variable "PartNumber" has 10 digits

Thanks

SolidworksSolidworks Pdm/enterprise Pdm
Answers 5
GB
GB 2021-04-09 Best Answer

Hello Jerome,

You can do that via dispatch that is triggered by transition. But easist way to do that, you can set min and max value lenght for a variable on data card. Why didnt you use data card for that?

regards

Gorkem

MD
MD 2021-04-09

Jerome,

If I understand you correctly then you can set up a transition condition as shown below.

comment imagecomment image
JN
JN 2021-04-09

I cannot do that : the part number is set in 2 time because of an automatic smart counter addin.

JN
JN 2021-04-09

Hi,

that's working well, thanks.

If you want to have alphanumerical value, you can type [0-Z][0-Z]....

JN
JN 2021-04-09

Hi, thanks for your reply.

I cannot set min/max value on the length in the data card.

I'll try a dispatch if I cannot do anything else.