How to find nodes with a scalar predicate having values found during traversal

@MichelDiz
Just pinging to get attention on this thread. How do I handle situation when a value variable is empty.