How to launch a business process in Sterling B2B Integrator when an event is raised in a Global Mailbox

In this scenario topic, a Sterling B2B Integrator administrator is trying to understand the configuration that is required to launch a business process in Sterling B2B Integrator when an event is raised in a Global Mailbox.

Ensure that the following requirements are met:

  • Global Mailbox is installed and Global Mailbox management tool is available and accessible.
  • Sterling B2B Integrator is installed and available and accessible.
  • WebSphere┬« MQ is installed and configured between Global Mailbox and Sterling B2B Integrator.

Get an understanding of the end-to-end configuration required to launch a business process in Sterling B2B Integrator when an event is raised in the Global Mailbox.

To launch a business process, complete the following steps:

  1. Ensure that com.ibm.mailbox.messaging.event.notification.enabled property is set to true in the mailbox.properties file when installing the Global Mailbox server. If the property is not enabled, enable the property.
  2. Configure event notification (part of appConfigUtility.sh).
  3. Configure a business process in Sterling B2B Integrator.
  4. Configure and enable the Global Mailbox Event Rule adapter in Sterling B2B Integrator.
  5. Create an event rule. When configuring the event rule, select the business process that you have configured in Sterling B2B Integrator.
    Important: A predefined business process, RoutingRuleDMMsgStatusMonitor, which is associated with the Global Mailbox Event Rule adapter, monitors the status of the business process that is specified in the event rule, and updates the status accordingly on the Global Mailbox management tool Event History page. Following is a list of the status that is displayed:
    Unprocessed
    The business process is yet to launch and message processing is yet to start.
    Processing
    The business process is running and message processing is in progress.
    Success
    The business process (message processing) completed successfully.
    Failed
    The business process (message processing) failed. Message processing can fail because a business process fails, or because the data center goes offline before processing is complete.
    Message processing can also fail if the event rule configuration does not match with the configuration in Sterling B2B Integrator. For example, the business process or user who is specified in the event rule are not available in Sterling B2B Integrator or the system business process (RoutingRuleDMMsgStatusMonitor) is deleted. In such cases, the Global Mailbox administrator or Sterling B2B administrator must make appropriate changes to the event rule configuration or the business process and resend the events.
    Important: To see the reasons for failure, verify the running instances of the RoutingRuleDMMsgStatusMonitor business process or monitor the Sterling B2B Integrator system logs (Operation/System/logs)