Flag events where startTime is greater than endTime

Flag events where startTime is greater than endTime

In this article, you will find the rules document for flagging events where startTime is greater than endTime.

Before you begin

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

Flag events where startTime is greater than endTime

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": "startTime",
              "operator": "greaterThan",
              "value": {
                "fact": "endTime"
              }
            }
          ]
        },
        "event": {
          "type": "flagged",
          "params": {
            "reason": "Invalid event time: startTime is greater than endTime"
          }
        }
      }
    ]
  }
]

    • Related Articles

    • 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 Note: This is a complete rules ...
    • Flag events within a specific time window

      In this article, you will find the rules document for flagging events within a specific time window. Before you begin To learn how to access the rules page, refer to this article. Flag events within a specific time window Note: This is a complete ...
    • Flag events that start after a specific time

      In this article, you will find the rules document for flagging events that start after a specific time. Before you begin To learn how to access the rules page, refer to this article. Flag events that start after a specific time Note: This is a ...
    • Flag events that start in the first minute

      In this article, you will find the rules document for flagging events that start in the first minute. Before you begin To learn how to access the rules page, refer to this article. Flag events that start in the first minute Note: This is a complete ...
    • Flag events that end before a specific time

      In this article, you will find the rules document for flagging events that end before a specific time. Before you begin To learn how to access the rules page, refer to this article. Flag events that end before a specific time Note: This is a complete ...