Check no value in variable issue


I am fetching tickets through API call and deserializing it and storing result in string. I want to check whether there is any value or not in that string . I used several expressions like var = Nothing, var = “, var.contains(”"), StringIsNullOrEmpty(var) etc but it is not working properly.

Can someone help me with the correct expression?

Thank you.

give a try on:
IsNothing(yourVariable) OrElse String.IsNullOrEmpty(yourVariable.trim)

it will return true if no value / empty Value is set

1 Like

I will try with this one and will let you know. @ppr .Thanks…:slight_smile:

This worked @ppr

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.