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