Skip Headers
Oracle® Communications Design Studio Modeling OSM Orchestration
Release 7.2.4
Go to Design Studio Help Home
Go to Table of Contents
Go to Feedback page

Go to previous page
Go to next page
Mobi · ePub

About Related Order Item Selector XQuery Expressions

This topic describes how to use the Transformation Sequence editor, Dependencies tab, Related Order Item Selector subtab, Expression area, XQuery subtab to write an expression that defines the related order items for a particular context order item. To see the Related Order Item Selector subtab, you must select a transformation stage in the tree on the Dependencies tab.

The following example shows an XQuery expression that returns sibling order items as related order items to the order transformation.

  declare namespace prop='http://oracle.communications.broadband;
declare namespace otmfn=”java:oracle.communications.ordermanagement.orchestration.transformation.XQueryFunctions.”;
        let $siblings := otmfn:siblings (., ’{http://oracle.communications.broadband}default')
        return $siblings[! fn:exists(osm:properties[prop:serviceInstance = 'Y'])]

For more information about the transformation.XQueryFunctions class, install the OSM SDK and see the OSM Java docs located in the OSM_home/SDK/osm7.x.y.z-javadocs.zip file (where OSM_home is the directory in which the OSM software is installed and x.y.z are the software release, patch, and build numbers). See OSM Installation Guide for more information about installing the OSM SDK.