We are working on some watches and wanted to add the condition threshold in hte output of the html email. Is there a way to access data of the watch itself somehow?
this is true. The payload represents only the input itself. If you want to do that, you could store the threshold in the metadata and use a script condition and do sth like return ctx.payload.hits.total > ctx.metadata.threshold
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.