JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Designing Oracle Java CAPS Business Process Manager Projects     Java CAPS Documentation
search filter icon
search icon

Document Information

Designing Oracle Java CAPS Business Process Manager Projects

Business Process Model Overview

Business Process Components

Java CAPS Components

Java CAPS Component Activities

JMS Activities

Editing Business Processes

The Business Process Designer

Business Process Activities

Activity Elements

Branching Activities

Intermediate Events

Scope Element

While Element

The Business Rule Designer

The Business Rule Editor

Reset Destination

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 Activities

Adding Components from the Project Tree

Linking Modeling Elements

Incorporating Business Rules

Adding Business Rules Activities

Adding a Business Rule to a Link

Defining Business Rules

Editing Business Rules

Validating a Business Process Model

To Check the Business Process for Errors or Warnings

Saving a Business Process Model

To Save a Business Process Model

Incorporating Sub-Processes Into Business Models

Creating a Sub-Process

To Create a Sub-Process

Adding the Sub-Process to the Main Business Process

To Add the Sub-Process to the Main Business Process

Using Predicates with Repeating Nodes

Creating a New Predicate

To Create a New Predicate

Editing a Predicate

To Edit a Predicate

Deleting a Predicate

To Delete a Predicate

Predicate Example

Customizing the Business Process Display

Changing Link Styles

To Change Link Styles

Changing Grid Properties

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

Auto Layout Options

Generating Business Process Reports

To Generate a Business Process Report

Customizing the Business Process Display

The Business Process Designer provides standard tools to automatically align the modeling elements you select. You can also change the style of the lines that link modeling components together and specify grid options.

Changing Link Styles

You can choose two different styles for the links in a Business Process, direct linking (diagonal) or indirect linking (orthogonal). The style you choose applies to all links in a model and the style is applied automatically.

The default setting is direct linking, which links modeling elements using the most direct line between two modeling elements and using diagonal lines when connecting elements that are not precisely aligned. Indirect linking uses only horizontal and vertical lines with right angles for elements that are not aligned.

To Change Link Styles

  1. Open the Business Process in the Business Process Designer.
  2. In the Projects window, right-click the Business Process name, and then click Toggle Link Style.

    The link style changes from diagonal to orthogonal or from orthogonal to diagonal.

  3. On the NetBeans toolbar, click Save.

Changing Grid Properties

You can change grid properties in the Properties dialog box of the Business Process or you can right-click in the Business Process Designer, which displays the grid options context menu. This section describes how to change grid options from the Business Process Designer.

To Change Grid Properties for a Business Process

  1. Right-click in the Business Process Designer canvas.

    A context menu appears.

  2. To display grid lines, select Show Grid.
  3. To force modeling elements to align to the grid, select Snap to Grid.
  4. To edit additional grid properties, click Grid Properties.

    The Edit Grid Properties dialog box appears.

  5. Edit any grid properties, and then click OK.

Aligning and Distributing Modeling Elements

In order to clarify the display of Business Process modeling elements, you can automatically align and distribute the elements by selecting Align or Distribute from the toolbar.

To Automatically Align or Distribute Modeling Elements

  1. Do one of the following:
    • Click and drag over a portion of the Business Process model to select the items you want to align or distribute.
    • Press the Control key and click the items you want to align or distribute.
  2. In the Business Process Designer toolbar, click Align or Distribute.
  3. From the menu that appears, select the type of automatic alignment or distribution you want to use.

    The options are described in Aligning and Distributing Modeling Elements.

  4. In the NetBeans toolbar, click Save to save the new element placement.
    Menu Item
    Description
    Align Left
    Aligns elements vertically along their left edges.
    Align Center
    Aligns elements vertically through their centers.
    Align Right
    Aligns elements vertically along their right edges.
    Align Top
    Aligns elements horizontally along their top edges.
    Align Middle
    Aligns elements horizontally through their centers.
    Align Bottom
    Aligns elements horizontally along their bottom edges.
    Distribute Horizontally
    Distributes elements horizontally.
    Distribute Vertically
    Distributes elements vertically.

Automatically Arranging Modeling Elements

In order to save time and effort, you can automatically arrange the modeling elements on the Business Process Designer canvas. The Auto Layout feature provides several options for arranging modeling elements for clear display.

To Automatically Arrange Modeling Elements

  1. In the Business Process Designer toolbar, click Auto Layout.

    The Auto Layout dialog box appears.

  2. Select the display options.
  3. When you are done, click OK.

Auto Layout Options

The following tables describe the different options available for arranging modeling elements. Default values are indicated with bold text.

Table 8 Cycle Remove Options

Option
Description
Greedy
Optimizes cycle removal.
Depth First Search
Performs cycle removal by searching depth first.

Table 9 Layering Options

Option
Description
Longest Path Sink
Layers elements according to the longest path sink.
Longest Path Source
Layers elements according to the longest path source.
Optimal Link Length
Optimizes link length.

Table 10 Initialize Options

Option
Description
Naive
Initializes layout without searching depth.
Depth First Search Outward
Initializes layout by searching depth first outwardly.
Depth First Search Inward
Initializes layout by searching depth first inwardly.

Table 11 Crossing Reduction Options

Option
Description
Iterations
Specifies the number of iterations for crossing reduction. Click the up or down arrow to change the number.
Aggressive
Performs aggressive crossing reduction when selected.

Table 12 Layout Options

Option
Description
Layer Spacing
Specifies the number of pixels for layer spacing. Click the up or down arrow to change the number.
Column Spacing
Specifies the number pixels for column spacing. Click the up or down arrow to change the number.
Left to Right
Performs a horizontal layout from left to right.
Top to Bottom
Performs a vertical layout from top to bottom.