Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Oracle BPM Suite 11g: Advanced BPMN Topics
Oracle BPM Suite 11g: Advanced BPMN Topics

Oracle BPM Suite 11g: Advanced BPMN Topics: This tutorial reaches the parts that standard manuals don't, taking you deep into advanced BPMN topics for Oracle BPM Suite. With a practical approach and logical explanations, it will make you a maestro of BPMN.

eBook
$14.99 $21.99
Paperback
$26.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Oracle BPM Suite 11g: Advanced BPMN Topics

Chapter 2. Inter-process Communication in Practice

In the previous chapter, we learned about the various approaches to inter-process communication including send and receive tasks, and throw and catch events. We also discussed important concepts like conversations and correlation.

In this chapter, we will put this theory into practice by building a number of examples to consolidate our knowledge. When you have finished each practical exercise, we encourage you to experiment further—make some changes and see what happens.

Communicating between processes using messages and correlation


In this practice activity, we will build two processes and call one from the other using correlation . The example that we will use is illustrated in the following diagram. We will create a calling process that will send a number to the called process . The called process will square the number (multiply it by itself) and return the result to the calling process.

We will run multiple instances of the calling process, which will start multiple instances of the called process—one each. We will observe that the correct result is returned to each instance of the calling process.

  1. Start by creating a new BPM Application in JDeveloper. Name both the application and the project as Practice1.

  2. Choose the option to create an empty composite

    Let's define the data structures that we will use in this project. For this practice activity, we will create a business object called Work that will hold both the number and its square.

  3. Open BPM Process...

Communication between processes inside a loop


In this practice activity, we will extend the previous activity to include correlation when we call the Called process multiple times inside a loop. This will allow us to explore a slightly different area of correlation—scoped conversation s and correlation when the process is participating in multiple conversations. In this activity, our Calling process starts a number of sub-processes . Each of these in turn starts an instance of the called process, as illustrated in the following diagram:

Note

You need to complete the first practice activity before starting this one. This activity will extend the project we created previously.

Let's start by creating some additional data types we will need now:

  1. Create a second Business Object called WorkArray.

  2. Add a single attribute named work of type <Array> of <Component> Work. We will use this to hold our list of input data.

  3. Create another process called CallerWithMultiInstance, again choosing the...

Communicating between processes using signals


In this practice activity, we will explore how to use signals to create publish/subscribe style communication between process instances, as illustrated in the following diagram. You may recall that when using signals, the sending process does not know which (if any) other processes will receive the signal.

  1. Create a new BPM Application in JDeveloper. Name both the application and the project as Practice3. Choose the option to create an emty composite.

    Let's start by defining an event. First, we will need a data type definition for the event. We will place this in an XSD file:

  2. Create a new XSD file as myEvent.xsd. You may need to change to the All Technologies tab in New Gallery and choose XML on the left-hand side and XML Schema on the right-hand side of the screen.

  3. Right-click on exampleElement and add sequence inside it. Then, right-click on sequence and add an element inside that.

  4. Right-click on element and set its type to xsd:string. Your XSD should...

Using reusable sub-processes


In this practice activity, we want to explore how to use reusable sub-processes. You may recall from Chapter 1, Inter-process Communication, that a reusable sub-process follows the pattern of starting with a Start node with type None and ending with an End node with type None. They are called from a parent process with the Call activity.

The Called process that we created in the first two practice activities actually follows this pattern; however, we did not use a Call activity to invoke it in those practice activities.

You may also recall from Chapter 1, Inter-process Communication, that a reusable sub-process does not have access to its parent's variables unless they are passed in by the parent as arguments . In a reusable sub-process, you define the input and output arguments for the process at the process level, not on the Start and End nodes.

The Receive and Send tasks in the Called process we saw earlier are not the mechanism used for passing data in and...

Summary


In this chapter, we have practiced the skills learned in Chapter 1, Inter-process Communication. Specifically, we have looked at how to use correlation with the default conversation to communicate between instances of processes. We have seen that each of the instances of the calling process started a conversation with an instance of the called process, and each reply was sent back to the correct caller.

We explored the use of a scoped conversation and how correlation works with an advanced conversation (not the default conversation). We saw how to define the scoped conversation inside an embedded sub-process.

We also saw how to create and use a reusable sub-process and reviewed some important characteristics and limitations of reusable sub-processes.

The embedded sub-process is a very useful construct for dealing with collections of data. In the next chapter, we will move on to explore how to work with arrays and collections of data in more detail.

Left arrow icon Right arrow icon

Key benefits

  • Cover some of the most commonly misunderstood areas of BPMN
  • Gain the knowledge to write professional BPMN processes
  • A practical and concise tutorial packed with advanced topics which until now had received little or no documentation for BPM Suite developers and architects

Description

Oracle BPM Suite is a popular and highly capable business process management system with extensive integration capabilities. BPMN, one of the most widely used process modeling notations, includes advanced capabilities for inter-process communication, working of arrays of data, and handling exceptions. However, these very same areas are often poorly understood. This book gives you the knowledge to create professional process models using these advanced features of BPMN."Oracle BPM Suite 11g: Advanced BPMN Topics" is the only book available that provides coverage of advanced BPMN topics for Oracle BPM Suite, helping to fill in the gaps left by the product documentation, and giving you the information that you need to know to use BPMN to its full potential.This book covers the important theory behind inter-process communication, working with arrays and handling exceptions in BPMN, along with detailed, step-by-step practical exercises that demonstrate and consolidate this theoretical knowledge.Throughout the book we'll cover topics including different types of sub-processes, initializing and manipulating arrays, using the multi-instance embedded sub-process, fault propagation and more.With "Oracle BPM Suite 11g: Advanced BPMN Topics" in hand, you'll gain detailed and practical experience in using the advanced features of BPMN to create professional BPMN processes with Oracle BPM.

Who is this book for?

If you are a developer or architect working with Oracle BPM Suite 11g, this book is for you. Basic knowledge of BPM Suite and business process management in general is assumed.

What you will learn

  • Understand different ways to communicate between processes
  • Grasp which mechanisms are available for handling exceptions in BPM
  • Understand when to use different approaches to exception handling
  • Recognize how the Fault Management Framework can be used with BPM
  • Create, manipulate and iterate over arrays in BPMN
  • Capture exceptions in a BPMN process
  • Get to grips with using correlation, including inside loops
  • Understand how BPM exceptions affect the SCA composite
  • Ensure that communications are delivered to the correct instance of a process
  • Tackle each advanced concept through both theoretical and practical learning

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 01, 2012
Length: 114 pages
Edition : 1st
Language : English
ISBN-13 : 9781849687560
Vendor :
Oracle
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Oct 01, 2012
Length: 114 pages
Edition : 1st
Language : English
ISBN-13 : 9781849687560
Vendor :
Oracle
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 97.98
Oracle BPM Suite 11g: Advanced BPMN Topics
$26.99
Oracle BPM Suite 11g Developer's cookbook
$70.99
Total $ 97.98 Stars icon

Table of Contents

5 Chapters
Inter-process Communication Chevron down icon Chevron up icon
Inter-process Communication in Practice Chevron down icon Chevron up icon
Working with Arrays Chevron down icon Chevron up icon
Handling Exceptions Chevron down icon Chevron up icon
Handling Exceptions in Practice Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(1 Ratings)
5 star 0%
4 star 100%
3 star 0%
2 star 0%
1 star 0%
Amazon Customer Jun 15, 2013
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
This book is actually a good book for a beginner. It gives you a good understanding of some basic stuff that are 'must understand' when working with the BPM.It is very hard to find good bpm books but I will recommend this book together with the information that can be found on Oracles website.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.