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
Note:
This is a complete rules document. In the rules page, copy this JSON into the editor.
[
{
"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"
}
}
}
]
}
]