Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Multistate maintenance using BPEL parallel path pattern and custom properties

Sravan K Yallapragada (syallapr@in.ibm.com), Industry Architect, IBM
Sravan Yallapragada photo
Sravan Yallapragada works in the Distribution Sector Solutions team of IBM Software Group. He is a retail industry architect and leads the development of various RFID and SOA solutions for the retail industry. He is the development lead for the New Product Introduction (NPI) solution and the merchandising domain of the Retail Integration Framework (SOA Platform for Retail Industry).

Summary:  IBM® Industry Architect Sravan Yallapragada illustrates how to maintain multiple states of an entity concurrently using the Business Process Execution Language (BPEL) parallel path pattern and the custom properties of a BPEL. Learn how to run different queries on the states maintained in the custom properties using the BusinessFlowManager APIs.

Date:  22 May 2008
Level:  Intermediate PDF:  A4 and Letter (2225 KB | 33 pages)Get Adobe® Reader®

Activity:  6162 views
Comments:  

Before you start

About this tutorial

A business works with an entity around which the business is based—this is a common business requirement in any industry. For example, an item is an entity in the retail industry. An item's details are most likely composed of multiple subsets. In the retail field these subsets might include core details, vendor details, and stock keeping unit (SKU) details. While creating, editing, or working with an item, you need to track the state of completion of these different subsets. These subsets might also be acted on simultaneously by multiple users. Ultimately, maintaining and tracking these different states (complete or incomplete) of the subsets is important.

If this is translated into a technical requirement, it means you need to do concurrent maintenance of the state for each subset of an item. Also, a Query interface needs to be provided, which can produce various results, such as the state of a given subset for an item, different subsets in a certain state for an item, and items with a subset in a certain state. You can't use a state machine implementation here, because it can only tell you the current state a subset is in, and such complex queries can't be supported. In this article, find out how this complex state management can be achieved by using a BPEL parallel path pattern, the BPEL custom properties, and the BusinessFlowManager APIs for building queries.

Objectives

  • Learn about the BPEL parallel path pattern.
  • Use BPEL custom properties.
  • Run queries on BPEL process instances.
  • Implement concurrent multistate maintenance, supporting queries on the states.

Prerequisites

This tutorial is for Service-Oriented Architecture (SOA) developers and architects who develop SOA solutions. To follow along with this tutorial, you should have prior experience developing solutions on IBM WebSphere® Integration Developer and deployment experience on IBM WebSphere Process Server.

System requirements

To run the examples in this tutorial, you need a WebSphere Integration Developer with WebSphere Process Server test environment on a machine with at least 2GB of RAM.

1 of 9 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=SOA and Web services
ArticleID=309892
TutorialTitle=Multistate maintenance using BPEL parallel path pattern and custom properties
publish-date=05222008
author1-email=syallapr@in.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.