| Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components | |
| Close Print View | |
| Designing: Incorporating Business Rules |
|
Creating a Runtime Environment
Designing Business Processes in the Sun Business Process Manager
Business Process Model Overview
Building a Business Process Model
Adding a Business Process to a Project
Creating the Business Process Components
Validating a Business Process Model
Saving a Business Process Model
Incorporating Sub-processes Into Business Models
Adding the Sub-Process to the Main Business Process
Using Predicates with Repeating Nodes
Customizing the Business Process Display
Aligning and Distributing Modeling Elements
Automatically Arranging Modeling Elements
Generating Business Process Reports
Working with TCP/IP HL7 Collaborations
Developing Sun Master Indexes (Repository)
Developing Sun Master Patient Indexes
Developing OTDs for Application Adapters
Developing OTDs for Communication Adapters
Developing OTDs for Database Adapters
Developing OTDs for Web Server Adapters
Designing with Application Adapters
Designing with Communication Adapters
Designing with Web Server Adapters
Designing with Sun JCA Adapters
You can configure logic in a business rule activity or add a business rule to a link. Business rules are defined using the Business Rule Designer, which appears when you click the Display Business Rule Designer icon or double-click a business rule activity or a business rule icon on a link. It is active when you add or select a link with a business rule and when you add or select a business rule activity. The Business Rules Editor, available from the Business Rule Designer, allows you to further modify business rules.
A business rule activity allows you to map and manipulate data in an activity in the Business Rule Designer.
The Business Rule Designer appears in the lower part of the Business Process Designer.
You can add a business rule to a link in order to map and manipulate data between activities using the Business Rule Designer.
The Business Rule Designer appears in the lower part of the Business Process Designer.
A business rule can be a direct mapping of data, or can include multiple methods to manipulate data during the mapping.
Drag a direct link between nodes in the right and left panels.
Select a method from the Method Palette. You can populate the method parameters and return values by linking them to nodes in the left and right panels, by linking them with additional methods, or by creating literal values.
Note - See Using the Method Palette for more information about each method available in the Method Palette.
Once you create business rules, you can modify them in the Business Rule Designer. You can also use the Business Rules Editor, provided with the Business Rule Designer, The editor provides an advanced view of the business rules for your BP
The Business Rules Editor appears.
To delete a rule or set of rules, right-click the node and then click Delete. Use caution when deleting rules. This can result in modeling elements being removed from the BP and cannot be undone.
To activate the reset destination feature for a rule, right-click the rule, and then click Reset Destination (for more information about this feature, see Reset Destination).
When you right-click the node again, Reset Destination appears with a check mark.
To deactivate the reset destination feature for a rule, right-click the rule, and then click Reset Destination.
When you right-click the node again, Reset Destination no longer appears with the check mark.
To expand the tree nodes, right-click a node, and then click Expand, or click Expand All to expand all nodes.
To collapse a tree node, right-click the node, and then click Collapse.
To change the order of the rules, select the rule you want to move and then click either the down or up arrows in the toolbar until the rule is where you want it. You can only move a node if there a multiple nodes at the same level.