Open topic with navigation

TIBCO BusinessConnect™ Container Edition 1.2.0

# Public Process Smart Routing

You can perform the following tasks on the business rules for Public Process Smart Routing:

| • | Adding New Business Rule

| • | Editing Business Rules

| • | Searching for Business Rules

| • | Deleting Business Rules

## Adding New Business Rule

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

1. In the Admin UI, go to System Settings > Smart Routing > Public Process Smart Routing.

2. In the Public Process Smart Routing window, click the Add icon.
   The New Entry dialog box is displayed.
   In the New Entry dialog box, enter the following information:

New Rule for the Public Process Smart Routing
Field | Description
--- | ---
Cluster Name | Enter the name of the cluster. This is a logical name of the location where messages are routed. The cluster name must begin with an alphanumeric character and be followed by zero or more alphanumeric characters such as '_' (underscore), '-' (hyphen) or '.' (dot); for example, `CLUSTER_LARGE_MESSAGES`, `BC_CLUSTER_03`, `SERVER-POOL-19`, `C001` The value is not case sensitive.
Transport Type | Pre-populated with the name of the transport you have selected.
Rule Expression | Expression for the rule is populated from the selection made in the added conditions for the attribute, operator, and operand.
Enabled | Enable or disable the routing mechanism by selecting or clearing this check box.
Add New Condition (icon) | Each time you click this button, a new row of attributes is added. Condition Type can be set to the following: if all conditions are met: more restrictive rule if any conditions are met: less restrictive rule A new condition is now displayed with the configurable options: Attribute, Operator, and Operand.

3. Enter data as explained in the following tables for the respective transports:

   - Rule Options for the HTTP/S, HTTPCA, and AS2_HTTP/S Transports

   - Rule Options for the FTP/S and SSHFTP Transports

   - Rule Options for the File Transport

   - Rule Options for the Email and AS1_Email Transports

   The defined rules are displayed in the field Rule Expression.

4. Click Add.
   The rules that you create are displayed in the Public Process Smart Routing window.

## Rule Options for the HTTP/S, HTTPCA, and AS2_HTTP/S Transports

Attribute | Operator | Operand1, Operand2 | Explanation
--- | --- | --- | ---
HTTP_Host | matches, = | (host name) | Enter the host name
HTTP_Version | matches, = | (HTTP version) | Define whether to use a certain HTTP version.
Large_Content | is | false true | Define whether the file size is large (true or false)
Query_String | matches, = | (query) | Define whether to use a certain query.
Request_URI | matches, = | (URI) | Define whether to use a certain URI.
Secure_SSL | is | false true | Define whether the transport is secure (true or false)
Client_Auth | is | false true | Define whether client authentication is true or false
Content_Size | =, greater_than, less_than, range | (value) | Define whether the file size is equal to, bigger, smaller, or in the range of a certain value.
AS2_From (AS2 only) | matches, = | (partner name) | Enter the AS2_ID of the partner sending the message
AS2_To (AS2 only) | matches, = | (partner name) | Enter the AS2_ID of the partner receiving the message

## Rule Options for the FTP/S and SSHFTP Transports

Attribute | Operator | Operand1, Operand2 | Explanation
--- | --- | --- | ---
File_Name | matches, = | (file name) | Define the name of the file to be sent. The whole path with the file name must be specified.
File_Size | =, greater_than, less_than, range | (value) | Define whether the file size is equal to, bigger, smaller, or in the range of a certain value.
From_Partner | matches, = | (partner name) | Enter the name of the partner sending the message
To_Partner | matches, = | (partner name) | Enter the name of the partner receiving the message
Large_File | is | false true | Define whether the file size is large (true or false)
Protocol | matches, = | (protocol name) | Define whether to use a certain protocol.

## Rule Options for the File Transport

Attribute | Operator | Operand1, Operand2 | Explanation
--- | --- | --- | ---
File_Name | matches, = | (file name) | Enter the full path for the file name
File_Size | =, greater_than, less_than, range | (value) | Define whether the file size is equal to, bigger, smaller, or in the range of a certain value.
Large_File | is | false true | Define whether the file size is large (true or false)
Protocol | matches, = | (protocol name) | Define whether to use a certain protocol.

## Rule Options for the Email and AS1_Email Transports

Attribute | Operator | Operand1, Operand2 | Explanation
--- | --- | --- | ---
Sender | matches, = | (host email address) | Enter the email of the host sending the message.
Subject | matches, = | (email transport subject) | Define whether to use a certain subject.
Content_Size | =, greater_than, less_than, range | (value) | Define whether the file size is equal to, bigger, smaller, or in the range of a certain value.
Large_Content | is | false true | Define whether the file size is large.
Recipient | matches, = | (partner’s email address) | Enter the email address of the partner receiving the message.

## Editing Business Rules

To edit a Business Rule, perform the following steps:

1. In the Admin UI, go to System Settings > Smart Routing > Public Process Smart Routing.

2. In the Public Process Smart Routing window, click the name of the rule you want to edit and modify the configured data in the Edit Entry dialog box.
   For more information on editing data of the selected business rule, see the description of the fields in the New Rule for the Public Process Smart Routing table.

3. Click Save.

## Searching for Business Rules

You can use the Search function to find a specific business rule.

Enter the search string in the Search field to search a business rule.

The names of one or more business rules that correspond to the search criteria are displayed.

## Deleting Business Rules

To delete one or business rules, perform the following steps:

1. On the Public Process Smart Routing page, select one or more business rules that you wish to delete, and click the Delete icon.

2. On the pop-up dialog box, click OK.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessConnect™ Container Edition

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.