cancel
Showing results for 
Search instead for 
Did you mean: 

How to check the value exists in data item which is of number data type?

DilipK
Level 3
Hi , Question :How to check if the  value exists in data item (number data type) or not? Please note:- 1)[Data item ] "" - is working incase if the data item is of text data type. 2) when the data item is number data type it throwing an internal exception "cannot perform when the left hand value is empty" Internal : Cannot perform operation when the left-hand value is empty   Any suggestion? Regards, Dilip K  
3 REPLIES 3

david.l.morris
Level 15
Hi, In my opinion, best practice is to initialize all your number data items (e.g.- zero) and then check that [Number item]>0. Would that work for your situation? Respectfully, Dave

Dave Morris, 3Ci at Southern Company

IrynaMilyanenka
Level 2
There is an in-built logic function IsNumber() in Blue Prism. It returns true if the input is a number.

david.l.morris
Level 15
Hahahahaha! Good point, Irina! I'm *facepalming* over here. Can't believe I forgot about the Is functions.

Dave Morris, 3Ci at Southern Company