Support Topics Documentation Slack YouTube Blog

Query empty detection

How to ask for a Variable is coming undefined because the query is empty and the get first in list become “undefined” variable?

Thanks

Hello @Mario_Ghersi

We will be happy to assist you.
I need to ask you a few more questions so I can understand the question better.
Could you describe in more detail what you want to do, since unfortunately I did not quite understand your question.

From what I understand, perhaps the following blocks can help you:

OK, the solution for me was ask the length of the variable prior to “Get first in the list”. If the length is 0 that means an empty search. Thanks for the help.