Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Administering: Creating the BPs
 

Classic Java CAPS

Managing Java CAPS Users

Using LDAP with Java CAPS

Administering the Sun Business Process Manager Database

Using the Sun Business Process Manager Worklist Manager for User Activities

User Activity Overview

Worklist Manager Overview

LDAP and Organizational Roles

Implementing a User Activity

Creating the Worklist Manager Database

Configuring Security

Creating a Web Service Definition

Creating the BPs

Defining Task Assignment

Configuring the WorkList Manager

Using the Worklist Manager

Managing Tasks

Viewing Task Histories

Configuring Task Assignment Fields

Viewing Flex Attributes

Maintaining Sun Master Indexes (Repository)

Working With the EDM for Sun Master Patient Index

Working With the EDM for Sun Master Index

Java EE Based Components

Working With the Master Index Data Manager

Maintaining Sun Master Indexes

Analyzing and Cleansing Data for Sun Master Index

Loading the Initial Data Set for a Sun Master Index

Creating the BPs

Once you have created the Worklist Manager database and have the LDAP directory structure in place, you can create the main BP that contains the user activity and the sub-process that defines the user activity logic.

Creating the Sub-process

The sub-process defines the flow of data through the user activity, and defines the access point for users to enter the required information.

To create the sub-process
  1. Create the Sun VPD page flows that define the user activity.
  2. Create a BP, and add the modeling elements including the Sun VPD page flows.
  3. Link the modeling elements together.
  4. Create the business rules for the links to define the mapping of data..
  5. When you are done configuring the modeling elements, click Save on the Enterprise Designer toolbar.
Creating a Partner

When creating a BP that will be used as a sub-process, you need to create a partner to associate with the receive and reply activities.

To create a new partner
  1. In the Project Explorer, right-click the sub-process, and then click Properties.
  2. On the BP Properties window, click the Partners tab.
  3. Click New, and enter a name for the partner.
  4. Click OK.
Associating the Partner with Activities

Once you create a partner for the sub-process, you need to associate it with the implement or receive activity and the reply activity of the sub-process. This allows you to connect the components in the Connectivity Map.

To associate the partner with activities
  1. In the BP, select the receive or implement activity.
  2. On the BP Designer toolbar, click Property Sheet.
  3. In the Partner property, select the partner you created above.
  4. Repeat for the reply activity.
Creating the Main BP

The main BP includes the user activity, and invokes the sub-process created in the previous step.

To create the main BP
  1. Create a BP, and add the modeling elements including a user activity.
  2. Link the modeling elements together.
  3. In the Project Explorer, expand the sub-process, and then drag the operation of the sub-process onto the user activity in the BP. This node is named Operation by default, but you can customize the name in the WSD object.
  4. Create the business rules for the links to define the mapping of data.
  5. Define task assignment for the user activity, as described in Defining Task Assignment.
  6. When you are done configuring the modeling elements, click Save on the Enterprise Designer toolbar.
Configuring User Activities Inside While Loops

When creating a BP that includes a user activity inside a while loop, you must take a few extra steps. The following procedure provides the steps for configuring a user activity inside a while loop.

To configure a user activity inside a while loop
  1. Create and configure a user activity as normal.
  2. Add a business rule to the link leaving the user activity.
  3. Open the Business Rule Designer and expand the WLVTask.Input node.
  4. Copy a BP attribute from the Output panel to the All panel, as shown in Figure 4.

    This creates an output container.

    Figure 4 Copy BP Attribute
    Figure shows copying a BP attribute in the Business Rule Designer.
  5. Open the Business Rules panel and click Show Single Mapping, as shown in Figure 5.
    Figure 5 Business Rules Editor
    Figure shows the Business Rule Designer with the Business Rules Editor displayed.
  6. Right-click the Copy rule and click Reset Destination, as shown in Figure 6.
    Figure 6 Reset Destination
    Figure shows the Rest Destination context menu in the Business Rules Editor.
  7. On the Enterprise Designer toolbar, click Save.