Skip to main content

Condition_DaysUntilSiteEvent

Description

Compares the remaining days until the next scheduled SiteEvent or SocialEvent calendar entry whose event ID matches S1.

Parameters

ParameterDescription
CompareTypeNumeric comparison against remaining days. InRange/OutRange use F1 and F2.
S1SiteEvent.Id or SocialEventTemplate.Id to search for. Empty means no check.
F1Day threshold for the comparison.
F2Upper day threshold when CompareType is InRange or OutRange.

Examples

DescriptionCommandCompareTypeS1F1F2
Check if the test starts in exactly three daysDaysUntilSiteEventEqualHighSchool_Test3
Check if prom starts tomorrowDaysUntilSiteEventEqualHighSchool_Prom1
Check if graduation starts within three daysDaysUntilSiteEventInRangeHighSchool_Graduation03