Branching on Null values returned from Query

I have an adapterservice that performs a query on a table. What is the syntax to check the result for data? I have tried using the following statement in a sequence step under an empty branch step but it by passes this code eventhough no rows are returned from the query: %/selectApplicationOutput/results[0]% == $null

I didn’t find any reasons why this doesn’t work if the branching parameter is right both in spelling and structure (better to copy from pipeline instead of typing).
You better double check it and if still doesn’t work then think of otehr implementations like: using the size of the list (pub.list:sizeOfList)


make sure u check the properties of branch step ,properties should have Execute lables =“true” .