Flag events with too few tags

Flag events with too few tags

In this article, you will find the rules document for flagging events with too few tags.

Before you begin

To learn how to access the rules page, refer to this article.

Flag events with too few tags

Notes
Note: This is a complete rules document. In the rules page, copy this JSON into the editor.

Info
[
  {
    "name": "json1",
    "operator": "any",
    "rules": [
      {
        "conditions": {
          "all": [
            {
              "fact": "tagCount",
              "operator": "lessThanInclusive",
              "value": 1
            }
          ]
        },
        "event": {
          "type": "flagged",
          "params": {
            "reason": "Add at least one tag to this event"
          }
        }
      }
    ]
  }
]