Rule Based TimeEvent Function Reference Signature Event ScheduleTimeEventName(long delay, String closure, long ttl) Domain action Description For each rule-based time event you create, an ontology function is also created to enable you to schedule the assertion of an instance of the event in a rule action. The function name follows this format: ScheduleTimeEventName. Parameters Name Type Description delay long The event is created (and asserted) the specified number of milliseconds after the rule action executes. closure String The TimeEvent created will simply store the information passed in the closure parameter. you can put the closure string value in rule conditions to specify the time events that will trigger the rule. ttl long The event’s time to live. Follows the same rules as the time to live setting in a simple event. See Simple Event Reference. Returns Type Description Event An instance of the event type specified in the function name (ScheduleTimeEventName).