Internal Event Driven Notification
You can create business processes that are invoked by certain events. This is useful for administrators to be informed when certain events happen within Sterling B2B Integrator.
About this task
The triggering of the business process is based on a combination of the event type and the evaluation of an Xpath expression written against the contents of the event itself.
To configure the optional event listener, XpathBPLauncherEventListener:
Procedure
Example
For example, to launch an e-mail business process (aft_email_notifier) with user credentials ‘admin' every time there is a failed authentication for the user account ‘acme':
bp_event_trigger.1=Aft.Visibility.CommAuthentication,
//Event/isSuccessful='false' and
//Event/principal = ‘acme', aft_email_notifier,admin
Or, an example to launch an e-mail business process (EmailNotifXferEvent) with user credentials ‘admin' when there is a completed file transfer on the FTP server:
bp_event_trigger.1=Aft.Visibility.CommFileXferComplete.1,
//Event/isPut='false' and
//Event/isSuccessful='true',EmailNotifXferEvent,admin
Or, an example to launch an e-mail business process (EmailNotifXferEvent) with user credentials ‘admin' when there is a non-file transfer event such as delete or move on the FTP server:
bp_event_trigger.2=Aft.Visibility.CommNonTransfer.1,
//Event/type='delete' or
//Event/type='move',EmailNotifNonXferEvent,admin