I have a base search and I want to set the token based on the result count. When there is no search result I want to show the message "Search returns no data" on the dashboard. I tried the below way, Message doesn't show up when there is 0 search result. But if I set the token and add this message on top where its "'job.resultCount'>0, the message shows up on the dashboard. ``` <search id="baseSearch"> <done> <condition match="'job.resultCount' > 0"> <unset token="check"></unset> </condition> <condition> <set token="check">Search returns no data</set> </condition> </done> <query> ... </query> </search> <row> <panel depends="$check$"> <html> <h2>$check$</h2> </html> </panel> </row> ```
... View more