Condition_DaysUntilSiteEvent
Description
Compares the remaining days until the next scheduled SiteEvent or SocialEvent calendar entry whose event ID matches S1.
Parameters
| Parameter | Description |
|---|---|
| CompareType | Numeric comparison against remaining days. InRange/OutRange use F1 and F2. |
| S1 | SiteEvent.Id or SocialEventTemplate.Id to search for. Empty means no check. |
| F1 | Day threshold for the comparison. |
| F2 | Upper day threshold when CompareType is InRange or OutRange. |
Examples
| Description | Command | CompareType | S1 | F1 | F2 |
|---|---|---|---|---|---|
| Check if the test starts in exactly three days | DaysUntilSiteEvent | Equal | HighSchool_Test | 3 | |
| Check if prom starts tomorrow | DaysUntilSiteEvent | Equal | HighSchool_Prom | 1 | |
| Check if graduation starts within three days | DaysUntilSiteEvent | InRange | HighSchool_Graduation | 0 | 3 |
Back to Command FinderSearch and filter all 491 Script Condition documents