Time Events and Scheduler Functions : Working With Time Events

Working With Time Events
This section explains how to create and configure a time event.
Adding a Time Event
See TimeEvent Resource Reference for information on how to complete the values.
1.
In Studio Explorer, right click the folder where you want to store the time event and select New > Time Event. You see the New Time Event Wizard.
2.
You can’t change the name in the editor. To change the name of any project element, right-click the element in Studio Explorer and select Refactor > Rename. See Chapter 4, Element Refactoring Operations for more details.
3.
Click Finish. You see the Time Event editor.
4.
5.
If you need to set metadata properties relating to backing store configuration, complete the metadata fields. Entity level metadata is shown in the Metadata section. To access metadata for a property, right click the property and select Metadata. Documentation is provided in TIBCO BusinessEvents Administration, in the section Entity-Level Configuration for Cache and Backing Store.
6.
Click Apply and save the resource.
Configuring a Rule Based Time Event in a Rule or Rule Function
1.
2.
Display the Catalog Functions view if it is not available: Select Window> Show View > Other > TIBCO BusinessEvents > Catalog Functions.
3.
In the Catalog Functions view, expand Ontology Functions and drill down to the rule-based time event. Expand the rule-based time event and select its ontology function (scheduleTimeEvent).
 
4.
Drag the time event’s ontology function into the Actions area of the rule (or Body area of the rule function) and configure the parameters, following guidelines in Rule Based TimeEvent Function Reference.
5.