Create variable error for boolean displayed- not able to fix it. Please help

I am new to Uipath and at beginner level. Trying to set a variable for Image exists activity. Ctrl+K is not listing boolean and throwing the below error. Just typing boolean in the output field is listing boolean variable but agian throwing the same error. Please help with the fix.

boolean error1 boolean error2


Boolean is a reserved word in, so you can’t place that as a variable name, instead you can create with another name, but the type will be the boolean

Eg: ButtonElementExists = Boolean Type

Check for reserved keywords as below

Hope this helps you


Thank you Ksrinu for your help. It worked and sorry for the delayed response

Hi @gangakoyada1 !
Don’t forget to validate @Srini84 post as a solution to your problem if it’s alright :wink: