Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Working with Events in Rules

At runtime, event instances that are created using rules are not automatically asserted.

You must explicitly assert such events, for example using the `Event.assertEvent()` function.

Events that are created from incoming messages, on the contrary, are automatically asserted.

STIBCO BusinessEvents includes two functions that allow you to send simple events out to another application:`Event.sendEvent()` and `Event.routeTo()`.

- `Event.sendEvent()` automatically sends the event to its default destination.
  Note: The Event.sendEvent() function does not recognize whether the event is Put or Take. Use Legacy ActiveSpaces catalog function for Put or Take operations.
- `Event.routeTo()` takes a destination as an argument, ignoring the event’s default destination.

  With `routeTo`, you can direct an event to a destination on a different channel from the event’s default destination. You can also override the properties of the destination, for example, the subject.

  You cannot, however, override the properties of the channel itself.

You can use two methods to schedule simple events:

- Rule-based time events schedule the assertion of simple events.
- Scheduler functions schedule the sending of simple events to their default channels.

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.