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

Using Predicates with Repeating Nodes

For web services or components that contain repeating nodes, the Business Rule Designer displays the repeating nodes in the input and output attributes for each activity, designated by the repeating icon. For direct node mapping, repeating nodes are used to dynamically populate 1-n values based on the runtime data.

XPath predicates are only used with repeating nodes and allow you to isolate particular elements in repeating nodes at runtime. Predicates allow you to define conditional mappings in a business rule when using Business Process attributes that contain repeating values.

The Predicate Editor allows you to define the conditions for the mapping. Once you define the conditions, you can map the associated repeating node values using the Business Rule Designer (at that point, the condition is in effect for that mapping). An indication of the condition appears to the right of the repeating node or element for which the condition was defined. At runtime, the condition is used to select the correct element and perform the mapping as designed.

Creating a New Predicate

You can create a predicate for a repeating node while you are defining business rules in the Business Rule Designer.

To Create a New Predicate

  1. From the Business Rule Designer, right-click a repeating node.
  2. Click New Predicate.

    The Predicate Editor appears.

  3. In the Predicate Editor, define the conditions for the predicate.
  4. Click OK.
  5. On the NetBeans toolbar, click Save.

Editing a Predicate

Once you create a predicate, you can modify the conditions as needed.

To Edit a Predicate

  1. From the Business Rule Designer, right-click the existing predicate
  2. Click Edit Predicate.

    The Predicate Editor appears.

  3. In the Predicate Editor, modify the conditions for the predicate.
  4. Click OK.
  5. On the NetBeans toolbar, click Save.

Deleting a Predicate

Once you create a predicate, you can delete the predicate if needed.

To Delete a Predicate

  1. From the Business Rule Designer, right-click the existing predicate.
  2. Click Delete Predicate.
  3. On the dialog box that appears, click Yes.

    The Predicate condition is removed.

  4. On the NetBeans toolbar, click Save.

Predicate Example

The most common use of predicates is to create a condition using either runtime Business Process attribute values or fixed values in an expression, and then create an appropriate mapping for when that condition is found to be true.

In certain instances, the names in one Business Process attribute must match name in the JMS Message User property. When the condition is found to be true, the appropriate mapping for value then takes place. In addition, only the appropriate value for value is mapped from the series of name and value pairs.