Compare Software Version
This Automation Manager object compares two software versions to see which is more recent. The supported format is x.x.x.x.
Privileges
Normal
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
Version A | String | Yes |
This is the first version number to be compared. Supported formats are 1.1, 2, 4.2.1, 4.2.1.1, 4.12.1.2a, etc. |
Version B | String | Yes |
This is the second version number to be compared. Supported formats are 1.1, 2, 4.2.1, 4.2.1.1, 4.12.1.2a, etc. |
Output Parameters
Name | Type | Description |
---|---|---|
Comparison Result | String | This will return whether version A is larger, B is larger, or if they are the same. |
Comparison Result Short | String | This will return “A”, “B”, or “Same”. |
Result | String | Returns a success value of zero or any value other than zero to indicate failure. |
Result String | String | Object execution error details. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Version A | String | Yes | 3.1.1.2 |
Version B | String | Yes | 3.1.1.3 |