Flag events where duration is negative

Flag events where duration is negative

In this article, you will find the rules document for flagging events where duration is negative.

Before you begin

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

Flag events where duration is negative

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": "duration",
              "operator": "lessThan",
              "value": 0
            }
          ]
        },
        "event": {
          "type": "flagged",
          "params": {
            "reason": "Invalid event time: startTime can not be greater than endTime"
          }
        }
      }
    ]
  }
]
    • Related Articles

    • Flag events within a duration range

      In this article, you will find the rules document for flagging events within a duration range. Before you begin To learn how to access the rules page, refer to this article. Flag events within a duration range Note: This is a complete rules document. ...
    • Flag events longer than a threshold

      In this article, you will find the rules document for flagging events longer than a threshold. Before you begin To learn how to access the rules page, refer to this article. Flag events longer than a threshold Note: This is a complete rules document. ...
    • Flag events with no labels

      In this article, you will find the rules document for flagging events with no labels. Before you begin To learn how to access the rules page, refer to this article. Flag events with no labels Note: This is a complete rules document. In the rules ...
    • 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 Note: This is a complete rules document. In the ...
    • Flag events with too many tags

      In this article, you will find the rules document for flagging events with too many tags. Before you begin To learn how to access the rules page, refer to this article. Flag events with too many tags Note: This is a complete rules document. In the ...