Guide to Building Business Processes

     Previous  Next    Contents  Open Index in new window  View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Guide to Building Business Processes

Topics Included in This Section

Creating a Business Process Application

Components of Your Application

Designing Your Application

Creating a Business Process Application

To Create a New Application

Setting the Business Process Properties

To Set the Business Process Properties

general

process

Setting the Business Process Annotations

To Set the Business Process Annotations

BeanInfo

ClassReliable

Ebxml

FeatureInfo

Handler

ManifestAttribute

ManifestAttributes

Protocol

Rosettanet

Schemas

Stateful

TargetNamespace

Version

WSSecurityCallback

WSSecurityService

Wsdl

XmlNamespaces

Com.bea.wli.common.XQuery

Com.bea.wli.jpd.Process

Starting Your Business Process

Designing Start Nodes

To Define the Start Method for Your Business Process

Client Request Start (Asynchronous)

To Complete the Design of Your Client Request Node

Client Request with Return Start (Synchronous)

To Complete the Design of Your Client Request with Return Node Group

Specify General Settings for the Request Part of Your Node Group

Specify Receive Data Settings for the Request Part of Your Node Group

About Editing Node Configurations

Specify General Settings for the Return Part of Your Node Group

Specify Send Data Settings for the Return Part of Your Node Group

Adding Nodes to Your Client Request with Return Node Group

Naming the Methods on Client Request with Return Nodes

Subscription Start (Asynchronous)

To Complete the Design of Your Subscription Start Node

Subscription Start (Synchronous)

About Choosing Synchronous or Asynchronous Subscription Start Nodes

To Complete the Design of Your Synchronous Subscription Start Node

Event Choice Start

To Complete the Design of Your Event Choice Start Node

Exception Handlers on Start Nodes

Interacting With Clients

Receiving Messages From Clients

Create a Client Request Node in Your Business Process

Design Your Client Request Node

To Specify General Settings

To Specify Receive Data

Naming the Methods on Client Request Nodes

Sending Messages to Clients

Create a Client Response Node in Your Business Process

Design Your Client Response Node

To Specify General Settings

To Specify Send Data

Adding Dynamic Callback Properties

To Set the Dynamic Callback Property

Buffering Client Messages

To Buffer an Outgoing Client Message

Interacting With Resources Using Controls

Designing Interactions Between Business Processes and Resources

Create Control Nodes in Your Business Process

To Create a Control Node in Your Business Process

Drag and Drop a Method from a Control in the Data Palette onto the Design View

Create a Control in the Design View First, Then Assign the Appropriate Method

Designing Your Control Nodes

Adding Instances of Controls to Your Business Process Project

To Add an Instance of a Control to Your Business Process Project

Note About Transformations

To Edit or Delete an Instance of a Control

Configuring Control Nodes

To Invoke the Control Node Builders

General Settings (Select a Control Instance and a Target Method)

Send Data/Receive Data (Map Variables to the Control Send (or Control Callback) Method Parameters)

Setting Control Properties and Annotations

To View and Edit Properties for Control Types

To View and Edit Annotations for Control Types

To View and Edit Annotations for Control Instances

Receiving Multiple Events

Create an Event Choice Node in Your Business Process

Design Your Event Choice Group

To Receive Events From Clients or Resources

To Receive Timer Events

Creating Parallel Paths of Execution

Understanding Parallel Execution in Your Business Process

Create a Parallel Node in Your Business Process

To Add A Parallel Node to Your Business Process

Design Your Parallel Node

To Define a Join Condition

To Add Logic to the Branches in Your Decision Node

Defining Conditions For Branching

Creating a Decision Node in Your Business Process

To Create a Decision Node in Your Business Process

Designing Your Decision Node

To Design the Condition Logic

Variable (Schema)

Method

To Add Activities to the Paths in Your Decision Node

Example Decision Node

Creating Case Statements

Comparing Decision Nodes and Switch Nodes

Creating a Switch Node

To Create a Switch Node in Your Business Process

Designing a Switch Node

To Design the Switch Logic

Variable (Schema)

Method

To Specify the Case Statement

Schema

Method

Constant or Variable

To Add Activities to the Paths in Your Switch Node

Writing Custom Java Code in Perform Nodes

To Create a Perform Node in Your Business Process

Creating Looping Logic

Understanding While Node Groups

Creating While Node Groups in Your Business Process

To Add A While group to Your Business Process

Designing While Node Groups

Design the Condition Logic

Add Activities to the Paths in Your While group

Looping Through Items in a List

Creating For Each Nodes in Your Business Process

To Add A For Each Node to Your Business Process

Designing For Each Nodes

To Select a Repeating XML or MFL Element Over Which to Iterate

To Add Activities to the For Each Node

Specifying Endpoints in Your Business Process

To Create a Finish Node in Your Business Process

Grouping Nodes in Your Business Process

To Create Groups—Alternative 1

To Create Groups—Alternative 2

To Delete, Ungroup, Collapse, or Expand Groups

To Activate Exception, Message, and Timeout Paths for Groups

Handling Exceptions

Types of Exception Handlers

Creating Exception Handler Paths

To Create an Exception Path

To Configure an Exception Path

general

exception

Deleting Exception Handler Paths

To Delete an Exception Path:

Order of Execution of Exception Handlers

Handling Exceptions in Transaction Blocks

Using Exception Handlers for Compensation

Compensation Example

Unhandled Exceptions

Adding Message Paths

Creating a Message Path

To Create a Message Path

To Configure a Message Path

general

message

Deleting Message Paths

To Delete a Message Path

Adding Timeout Paths

Creating a Timeout Path

To Create a Timeout Path

To Configure a Timeout Path

general

timeout

Deleting Timeout Paths

To Delete a Timeout Path

Running and Testing Your Business Process

Using the Test Browser

To Launch the Test Browser

Overview

Console

Test Form

Test SOAP

Message Broker

Process Graph

Testing the Public Methods of Your Business Process

To Test the Public Methods of Your Business Process

Testing a Message Broker Channel

To Test a Message Broker Channel

Viewing the Process Graph

To View a Process Graph

Understanding the Service URL

Business Process Variables and Data Types

Creating Variables

To Create a New Variable in the Data Palette

To Create a New Variable in the Node Builder

To Convert Application Variable Data Types

Deleting Variables

To Delete a Variable

Working with Data Types

Tip for XML Object

Tip for Creating XML Schemas

Assigning MFL Data to XML Variables and XML Data to MFL Variables

Example Scenario—Requires Assignment of MFL Data to an XML Variable and Assignment of XML Data to an MFL Variable

To Design the Client Request Node

To Design the Client Response Node

Validating Schemas

Validating a Typed XML Variable

Typing and Validating an Untyped XML Type

Versioning Business Processes

Creating a New Version of a Business Process

To Create the First Version of a Business Process

To Create a New Version of Your Process

Configuring the New Versions of Your Business Process

To Make a Version of a Business Process the Active Version

Editing Versions of Business Processes

Deleting Versions of a Business Process

To Delete a Version of a Business Process

Using Versioning with Long-Running Business Processes

To Specify the Version Strategy of a Business Process

Importing Versioned Business Processes

Building Stateless and Stateful Business Processes

To View Whether Your Business Process is Stateless or Stateful

Working with Variables in Stateless Processes

Building Synchronous and Asynchronous Business Processes

Working with Subprocesses

Synchronous Subprocesses

To Configure the On Sync Failure Property

Asynchronous Subprocesses

Synchronous Clients for Asynchronous Business Processes

To Create a Synchronous Client for an Asynchronous Processes

To Generate a Sync-to-Async WSDL File

Limitations

Mixing of Synchronous and Asynchronous Pairs is Not Allowed

A Client Request within a Synchronous Pair is Not Allowed

A Synchronous Client Cannot Call an Asynchronous Process with SOAP Attachment in a Client Request Node

Synchronous-Asynchronous Security

To Configure Basic Authentication for Resources Accessed via SyncAsyncServlet

Transaction Boundaries

Implicit Transaction Boundary Rules

An Implicit Transaction Boundary Example

Explicit Transaction Boundaries

Creating Explicit Transaction Boundaries

To Create an Explicit Transaction—Alternative 1

To Create an Explicit Transaction—Alternative 2

Setting the Explicit Transaction Properties

To Set the Transaction Properties

general

transaction

Handling Exceptions in Transaction Blocks

Business Process Source Code

Overview

Business Process Language

Variables

Control Declarations

Client Operations and Control Communication Methods

Can You Edit Code?

Perform Methods

XQuery Statements

Building ebXML Participant Business Processes

About the ebXML Participant Business Process

Creating an ebXML Participant Business Process

To create an ebXML participant business process

Customizing an ebXML Participant Business Process

Configuring Business Process Annotations (Required)

Customizing Names and Argument Types (Optional)

Retrieving the ebXML Message Envelope (Optional)

Building RosettaNet Participant Business Processes

About the RosettaNet Participant Business Process

Creating a RosettaNet Participant Business Process

To create a RosettaNet participant business process

Customizing a RosettaNet Participant Business Process

Configuring Business Process Annotations (Required)

Customizing Argument Types (Optional)

Configuring Data Transformation (Required)

Integrating with the Private Participant Process (Required)

Setting Up the Notification of Failure (Required)

Building and Deploying Integration Applications

Working in Iterative Development Mode

Deploying Applications in EAR Format

Calling Business Processes

How Do I: Call Business Processes?

Workshop Client Invokes a Business Process in a Different Domain

Workshop Client Invokes a Business Process in the Same Workshop Application

Workshop Client Invokes a Business Process in a Different Workshop Application, in the Same Domain

A Non-Workshop Java Client (EJB, servlet or JSP) Invokes a Business Process

How Do I: Use a JPD Proxy to a Call Business Process?

How Do I: Get a JPD Proxy for a Business Process?

About Versioned Business Processes

How Do I: Use a JPD Proxy From a Java Client?

Example Java Client

To Import the Proxy Classes

To Use the Proxy Factory (JpdProxy.create()) Method

Method Detail for the create() Method—Use When the Client is Running in the Same Oracle WebLogic Server Domain as the Target JPD

Method Detail for the create() Method—Use When the Client is Running in a Different Domain Than the Target JPD

To Call the Methods on the Target Business Process

About Strongly-Typed XML or MFL Arguments in Business Processes

About Conversation Management

To Run the Java Client

Limitation Using JPD Proxies for Business Processes That Include Client Callbacks

Example Java Client With Two-Way SSL

To Run the Java Client

How Do I: Use a JPD Proxy From a JSP?

To Create a JSP file that Calls a Business Process Using the JPD Proxy

How Do I: Use a JPD Proxy From an EJB?


  Back to Top       Previous  Next