Advisory events are asserted into working memory when certain conditions occur. Add the AdvisoryEvent event type to rules to be notified of such conditions. An advisory event expires after the completion of the first RTC cycle (that is, the time to live code is set internally to zero).The three types of advisory event are described next. Each advisory event has attributes for category, type, and message (see Advisory Event Attributes Reference.)The BusinessEvents engine automatically asserts an advisory event when it catches an exception that originates in user code but that is not caught with the catch command of the BusinessEvents Exception type (available in the rule language). For information on working with exceptions, see Exception Handling of TIBCO BusinessEvents Language Reference.The advisory event category is Exception and the type is the Java class name of the exception. The message attribute includes the stack trace and a message (if the exception includes a message).Advisory events are also used in the in-process BusinessEvents-ActiveMatrix BusinessWorks integration feature invokeProcess() function. Such events are asserted when the ActiveMatrix BusinessWorks process fails or times out (or is cancelled). See Configuring and Using invokeProcess() for more information.The advisory event category is Engine and the type is INVOKE BW PROCESS. The error message contains the error message from the failed ActiveMatrix BusinessWorks process, or the timeout message.An advisory event is asserted when an engine has finished starting up and executing startup functions (if any).The advisory event category is Engine and the type is engine.primary.activated. An advisory event of this type has the message: Engine EngineName activated.You never have to create or configure an event of type AdvisoryEvent. Only one event type is needed. It is called AdvisoryEvent, and it is available for selection from the resource list you see when you add a resource to the declaration of a rule in the rule editor.
Copyright © TIBCO Software Inc. All Rights Reserved.