Creating New Business Rule

A smart routing business rule defines a smart ID and a set of conditions to which BusinessConnect Container Edition can compare all the messages.

To create a business rule for Smart Routing, perform the following steps:

  1. In the Admin UI, go to System Settings > Smart Routing > Private Process Smart Routing.
  2. In the Private Process Smart Routing window, click the Add New Smart Route tab or the Add icon.
    The New Entry dialog is displayed.
    In the New Entry dialog, enter the following information:


New Rule for the Private Process Smart Routing

Field Description
Enabled Select this checkbox to enable the new Smart Routing rule.
Protocol

Choose the protocol for the message from the drop-down list.

To select all the protocols from the list, select the asterisk character (*).

From (Required) The name of the trading partner that sends the original message. If Host (your company) sends a request to Partner and Partner sends a response, you might want to use Smart Routing for the response. In this case, this field is matched by Host because Host is the originator of the business transaction. Use the asterisk character (*) to match all hosts and partners, but do not use the asterisk character with a string. For example, do not use TIB*.
To (Required) The name of the trading partner that receives the original message. If Partner sends a request to Host (your company), you might want to use Smart Routing for the request. In this case, this field is matched by Host because Host is the recipient of the request. Use the asterisk character (*) to match all hosts and partners, but do not use the asterisk character with a string. For example, do not use TIB*.
Direction

Choose the business direction of the message as follows:

  • Inbound: If a Partner sends a request to a Host (your company), both the business direction and the message direction are inbound.
  • Outbound: If a Host sends a request to a Partner and the Partner sends back a response, the message direction of the response is inbound and the business direction of the response is outbound because the original message was outbound.
  • * : The asterisk character selects both the directions.
Operation ID (Required)

Enter the location and identifier of the operation. This takes the form of a series of nodes.

For example: BC/1.0/Notify.

Use one asterisk character (*) to match all the operations directly under a specific node.

For example: BC/*/* matches BC/MyNotify/Test but not BC/MyNotify/Test/notify1

Use two asterisk characters (**) to match operations recursively.

Use double asterisks alone or use them as the last node.

For example: BC/MyNotify/** matches BC/MyNotify/1.3/Test BC/MyNotify/**/notify1 and is same as BC/MyNotify/**.

The software ignores any nodes after the double asterisk.

You can use both a single asterisk and a double asterisk.

For example: BC/*/1.0/** matches BC/Test-01/1.0/A/B

Smart ID

Enter an ID for smart routing business rule.

You can enter any combination of alphanumeric characters with a minimum of one character and a recommended maximum of 25 characters.

4. Click Add.
The rules that you create are displayed in the Private Process Smart Routing window, with a serial number associated for each rule.