Skip Navigation Links | |
Exit Print View | |
![]() |
Designing Oracle Java CAPS Business Process Manager Projects Java CAPS Documentation |
Designing Oracle Java CAPS Business Process Manager Projects
Business Process Model Overview
Java CAPS Component Activities
Building a Business Process Model
Adding a Business Process to a Project
To Add a Business Process to a Project
Creating the Business Process Components
Adding Components from the Project Tree
Adding Business Rules Activities
Adding a Business Rule to a Link
Validating a Business Process Model
To Check the Business Process for Errors or Warnings
Incorporating Sub-Processes Into Business Models
Adding the Sub-Process to the Main Business Process
To Add the Sub-Process to the Main Business Process
Using Predicates with Repeating Nodes
Customizing the Business Process Display
To Change Grid Properties for a Business Process
Aligning and Distributing Modeling Elements
To Automatically Align or Distribute Modeling Elements
Automatically Arranging Modeling Elements
To Automatically Arrange Modeling Elements
When developing a Business Process, you first create and name a new Business Process in a Java CAPS Project, and then add modeling elements and other Java CAPS component operations to the Business Process canvas to develop a logical process flow. Like other objects, Business Processes appear in the NetBeans Projects window. Perform the following steps to create a Business Process model.
Once you create the Business Process, you need to might configure the properties. Once you have finalized the Business Process, you need to create a Connectivity Map, Environment, and Deployment Profile. You can then deploy the Project to the server.
The first step in creating a Business Process is to add a new Business Process to a Java CAPS Project.
You create Business Process components by dragging, dropping, and linking the available modeling elements in the Business Process Designer.
Perform the following steps to create the components of a Business Process.
There are several different kinds of activities you can include in a Business Process model. For more information about each of the different kinds of activities you can use and an illustration of their toolbar icons, see Business Process Activities.
On the Business Process Designer toolbar, click the activity icon and drag it to the canvas.
For intermediate or branching activities, click Intermediate Events or Branching Activities on the Business Process Designer toolbar, click the activity you want to use, and then drag it to the canvas.
Elements from the Project tree can either be dropped directly onto the canvas or onto an activity. Many elements provide custom settings so you can model every detail of your process.
Links indicate the flow of the Business Process by connecting activities together. BPM does not allow invalid links, ensuring the model is properly linked. Links can also accept business rules. A link with a business rule is marked with a blue icon.
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 Business Process
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 Business Process 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.
After creating a Business Process model, you can check to see if there are any errors or warnings in the processing code. Errors are critical issues and will stop the Business Process. For example, activities that are not connected or an incorrect number of output links from an activity will cause an error. Warnings appear when there is a problem, but it is not critical enough to stop the Business Process. For example, unused containers in a Business Process cause warnings, you can still build, deploy, and run the process.
The Business Process Validation dialog box appears.
Even if a Business Process model is not complete or contains errors, you can save it as a “work in progress” and return to it later.