You would need to add the following logic in your script, in order to check whether a specific variable is a number or not.

Let's suppose that %NewVar% is the variable that holds the value that we want to check its type.


1st Option

Then, add the following Actions:

"Set Variable" Action -> Set the value %true% to variable %IsNumeric%

"Convert Text to Number" Action -> Configure the Exception Handling to "Continue Process Execution:Go to next action" and "Set Variable" %IsNumeric% = %false%

"If" %IsNumeric% = %True%

It is a number!

Else

It is NOT a number!

End If




2nd Option

Alternatively, add the following Actions:

"Parse Text" Action -> Text to Parse: %NewVar% | Text to Find: \d+ | Is regular Expression: Checked

"If" %Match.Length% = %NewVar.Length%

It is a number!

Else

It is NOT a number!

End If