8 5 Event Maintenance

LANSA Composer

8.5 Event Maintenance

LANSA Composer provides support for event definitions that can be "triggered" during execution of a Processing Sequence and that can provide notifications of the event, for example, by email or SMS message to a system operator.  These events can be set up and maintained in Event Maintenance (under Administration and Housekeeping in the LANSA Composer Navigator).

There are three ways that an event definition can be "triggered" during the execution of a Processing Sequence:

1.  Your Processing Sequence can explicitly cause an event to be triggered by including the supplied NOTIFYEVENT activity.  You can use this activity to trigger any defined event, including those that are supplied with LANSA Composer and additional events that you may define yourself.

2.  You can associate a specific event with a Processing Sequence such that the event is triggered automatically if the Processing Sequence ends in error.  To do this, enter the required event definition name in the Event identifier field at the Processing Sequence Details command tab

3.  Activities can be written such that they trigger an event in specific circumstances.  A number of the supplied activities behave in this way.  For example, the supplied FTP_INBOUND activity can trigger the FTPINFAILED event if an error occurs during the FTP processing.  Refer to 8.5.1 Supplied Events for a list of the event definitions that can be triggered by activities supplied with LANSA Composer.

If you are creating your own custom activities, you can employ this same technique to trigger an event when appropriate.  For more information refer to Signal an event .

 

Note:  Both your own event definitions and the supplied event definitions will be triggered only if their status is set to Active.  Supplied events have a status of Inactive as installed.  You must enable them by setting their status to Active if you wish them to be triggered.  Of course, if you do this,, you should modify the supplied events to notify you of the associated event by whatever means is appropriate for your organization.

 

When an event is triggered in any of the above ways, the Processing Sequence controller will notify the appropriate event to provide the notifications that are defined for the event.

Refer to 8.5.2 Event Details for information on the basic details for an event definition and on adding, removing and organizing the notification(s) for the event.

An event can use one or more of the following notification methods to provide the notification of the event: