Not null variable value

I want to check the variable is not null but my if condition has some error. Can anyone please tell me what should the correct expression
Below is the ss


you can write as gstcertificates <> “”

If that is string that is enough

Hope this will help you


Hi @Seema_Jethe

Another alternate way is

Yourvar IsNot Nothing


@pravin_calvin ok

You have a few options to do that.
If your variaable is of type String, i suggest you to user

not String.IsNullOrEmpty(gstcertificate)

Is your variable is of another type:

gstcertificate IsNot Nothing

User String.isnullorempty(your_varaible) :slight_smile: