Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# 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: Schedule`TimeEventName`.

## Parameters

Name | Type | Description
--- | --- | ---
    delay
    long
| The event is created (and asserted) the specified number of milliseconds after the rule action runs.
    closure
    String
| The TimeEvent created stores the information passed in the closure parameter. You can put the closure string value in the rule conditions to specify the time events that trigger the rule.
    ttl
    long
| The event’s time to live. It 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 (Schedule`TimeEventName).`

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.