I CAN USING CONDITIONAL IN WATCHER USING ES|QL ?

It´s possible using conditional when i use ES|QL in query in the watcher