Rule Based Time Events
A rule based TimeEvent resource has only a name and description.
You can then use it in a rule to schedule a simple event to be asserted, using its ontology function, ScheduleTimeEventName() in a rule. You can schedule the event to be asserted after a period of time, and you can pass information to the event and specify its time to live. You can call the ScheduleTimeEventName() function in different places with different time delays.
You can use rule based time events in various ways. For example, you might write rules that check for delays in order fulfillment:
- A new Order event is asserted, and Rule A (which has Order in its scope) creates a time event T and configures it to be asserted in sixty minutes, and passes the order ID as the closure parameter value. (Rule A also sends the order details to another system.)
- Sixty minutes after Rule A executes, timer event T is asserted.
- The assertion of time event T triggers Rule B, which has T in its scope. Rule B checks the order status. If the order is delayed, it sends out an alert.
Copyright © TIBCO Software Inc. All rights reserved.