cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bdshan
Level 4

Conditions

Hi.

I am trying to create a condition that evaluates two string version numbers. I need to know if the user is upgrading from a previous version.

8.1.000.000 = new version
7.5.500.250 = old version

I'd like my condition to evaluate to true when the old version is less than the new version. How can I build this condition?

Thanks
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

The StringUtils class (see the MultiPlatform API docs) has a compareVersionStrings methods that should be of use.
0 Kudos