原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/condition-never.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/condition-never.html
本地英文版地址: ../en/condition-never.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Never conditionedit
Use the never
condition to set the condition to false
. This means the
watch actions are never executed when the watch is triggered. The watch input is
executed, a record is added to the watch history, and the watch execution ends.
This condition is generally used for testing.
Using the never conditionedit
There are no attributes to specify for the never
condition. To use the it,
you specify the condition type and associate it with an empty object:
"condition" : { "never" : {} }