Not able to generate the alerts

No able to generate the alerts email, there is many records but not able to generate the alerts even lambda conditions met.

SELECT elapse_time FROM “apm”.“default”.“apm_event” WHERE “appl_id”=~ /om_iux-mq-util*/ AND “server_name” =~ /tcws*/ AND “status”=‘FAIL’
.groupBy(‘appl_id’, ‘server_name’)
.id(’{{ index .Tags “server_name” }}/{{ index .Tags “appl_id” }}’)
.message(’{{ .Level }}:{{ .ID }}:{{ index .Fields “count” }} ‘)
.details(’’‘IUX-MQ-UTIL is unable to send Proforma messages to MQ queue. It will impact the Proforma data flow to downstream. Possible cause could be the bad MQ connection. Please check the service logs for more details.
.crit(lambda: count > 0)

digraph mq_util_fail {
graph [throughput=“0.00 batches/s”];

query1 [avg_exec_time_ns=“3.905970247s” batches_queried=“1108” errors=“63” points_queried=“21045” working_cardinality=“0” ];
query1 -> count2 [processed=“1108”];

count2 [avg_exec_time_ns=“41.112µs” errors=“0” working_cardinality=“0” ];
count2 -> alert3 [processed=“1108”];

alert3 [alerts_triggered=“0” avg_exec_time_ns=“26.714µs” crits_triggered=“0” errors=“0” infos_triggered=“0” oks_triggered=“0” warns_triggered=“0” working_cardinality=“2” ];