Working with Advisory Events
You never have to add or configure an event of type Advisory Event. Advisory events are asserted into the Rete network automatically when certain conditions, for example, exceptions, occur. Add the Advisory event type to rule declarations to be notified of such conditions. Then use the event attributes in the rule as needed (Advisory Event Attributes Reference).
For more information on Events, refer to the TIBCO BusinessEvents Architect’s Guide.
- Procedure
- To add an advisory event to a rule, open the rule editor for the rule where you want to use the advisory event.
- Perform one of the following actions:
In the form-based editor, click the plus icon in the Declarations panel and select Advisory Event from the list of resources.In the source editor, add a line like the following in the
declare
block:AdvisoryEvent a;
In both cases you can change the alias as desired (from
a
to something else). - Save the resource.
The Advisory event type has no properties. You can use its event attributes in rules to return information about an advisory event. See Advisory Event Attributes Reference.