Blog Posts Process Management Service Oriented Architecture (SOA)

How to define a Repeating Global Variable by Jorge Herreria

Blog: PaaS Community

image

Summary

This blog addresses the following use case:  “In my OIC Orchestration, when I define a Global variable based on a repeating element (aka unbounded), the global variable is not repeating; I cannot add/append to it”

The nutshell solution:

Choose the parent element when defining the global variable

Details

Why the variable is not repeating?

Because of XML Rules: When a global variable is defined, internally it is defining a reference to a XML Document. Any XML Document must have a single instance root element; in other words it cannot be a collection of root elements, even if they have the same element name.

How Do I Solve my requirement?

When defining the Variable, choose the parent element of the unbounded element (repeating). That way the  XML Document root element will be the parent element, and one of its children will be the unbounded element

To reference the variable use the location path (xpath) to the unbounded element.

Example

Defining vErrors with the intent to use errorDetails repeating element. Read the complete article here.

PaaS Partner Community

For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/how-to-define-a-repeating-global-variable-by-jorge-herreria/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×