Mailbox Evaluate Routing Rule Service
The Mailbox Evaluate Routing Rule service evaluates a mailbox routing rule.
The following table provides an overview of the Mailbox Evaluate Routing Rule service.
Category | Description |
---|---|
System name | Mailbox Evaluate Routing Rule Service |
Graphical Process Modeler (GPM) categories | All Services, Internet B2B > Mailbox |
Description | Evaluates a mailbox routing rule. |
Business usage | Create a specific routing rule then use the Mailbox Evaluate Routing Rule service to schedule evaluation of that rule. This allows business processes to use routing rules. This service can be scheduled. |
Usage example | The Sterling B2B Integrator Mailbox system administrator creates several automatic Mailbox Routing Rules that target specific mailboxes to execute specific business processes. This service evaluates those routing rules on a schedule established by the system administrator using the Mailbox Evaluate Routing Rule service. |
Preconfigured? | Yes |
Requires third-party files? | No |
Platform availability | All supported Sterling B2B Integrator platforms |
Related services | The Mailbox Evaluate Routing Rule service works
with the other Sterling B2B Integrator Mailbox
services to provide mailboxing capability:
|
Application requirements | Nothing external to Sterling B2B Integrator is required to use this service. |
Initiates business processes? | No |
Invocation | This service can be scheduled. It also can be started by business processes wanting to trigger a Mailbox routing rule. |
Business process context considerations | No |
Returned status values | Returned status values:
|
Restrictions | The limitations of this service are based on the assignment of mailbox permissions to users and groups. |
Testing Considerations | Troubleshooting for this services can be found in the Sterling B2B Integrator Mailblox log files. |
How the Mailbox Evaluate Routing Rules Service Works
Use the Mailbox Evaluate Routing Rule service to evaluate a routing rule that is defined in Sterling B2B Integrator Mailbox. The evaluation can be scheduled.
Implementing the Mailbox Evaluate Routing Rule Service
- Create a Mailbox Evaluate Routing Rule service configuration.
- Configure the Mailbox Evaluate Routing Rule service.
- Use the Mailbox Evaluate Routing Rule service in a business process.
Configuring the Mailbox Evaluate Routing Rule Service
To configure the Mailbox Evaluate Routing Rule service, specify settings for the following fields in Sterling B2B Integrator:
Field | Description |
---|---|
Name | Unique and meaningful name for the service configuration. Required. |
Description | Meaningful description for the service configuration, for reference purposes. Required. |
Select a Group | Select one of the options:
|
Mailbox Routing Rule(RuleId) | A valid ID for a routing rule. Required if RuleDescription is not provided. |
RuleDescription | A description that uniquely identifies the routing rule for this service. Unlike RuleId, RuleDescription does not change as the result of an import. If set, RuleDescription takes precedence over RuleId and RuleId is ignored. Required if RuleId is not provided. |
Run as User | Enter (or select from the list) the user ID to be associated with business process instances of this service. |
Use 24 Hour Clock Display | If selected, the adapter will use the 24-hour clock instead of the default 12-hour clock. |
Schedule | Information about scheduling the service configuration
to run. Valid values:
|
GPM Configuration
The following table describes the fields used to configure the Mailbox Evaluate Routing Rule service in the GPM:
Field | Description |
---|---|
Config | Name of the service configuration. |
RuleId | A valid ID for a routing rule. Required if RuleDescription is not providec. |
Parameters Passed from Business Process to Service
Parameter | Description |
---|---|
RuleId | ID of the routing rule that was evaluated. |
RuleDescription | A description that uniquely identifies the routing rule for this service. Unlike RuleId, RuleDescription does not change as the result of an import. If set, RuleDescription takes precedence over RuleId and RuleId is ignored. Required if RuleId is not provided. |
Output from Service to Business Process
The following table contains the parameter passed from the Mailbox Evaluate Routing Rule service to a business process:
Parameter | Description |
---|---|
RuleId | ID of the routing rule that was evaluated. |
MessageId | An ID of each of the Messages that were evaluated against rule with RuleId. |
Business Process Example
The following BPML evaluates the rule corresponding to ruleId = 268ef9:f6af57c58f:-72bf:
<process name="LaunchAcmeRoutingRule">
<sequence name="Evaluate">
<!—Evaluate the AcmeRoutingRule -->
<operation name="Mailbox Evaluate Routing Rule Service">
<participant name="MailboxEvaluateRoutingRule"/>
<output message="EvaluateRuleRequest">
<assign to="." from="*"></assign>
<assign to="RuleId">268ef9:f6af57c58f:-72bf </assign>
</output>
<input message="inmsg">
<assign to="EvaluateRuleResults" from="*"></assign>
</input>
</operation>
</sequence>
</process>