This discussion is archived
1 Reply Latest reply: May 30, 2013 1:45 AM by viktor.jarolim RSS

From where to read the data in Product specification for creating the condi

Ankie_2013 Newbie
Currently Being Moderated
Hi,

I am trying to right the condition for a function to be excuted for certain line items. But i am not sure from where to read the data.. That is the data from the Input XML or the data from Get order XML.

If from Get Order XML then Do we need to traverse the complete path from Get order element or we need to start with the Order Line item element.


Thanks
  • 1. Re: From where to read the data in Product specification for creating the condi
    viktor.jarolim Explorer
    Currently Being Moderated
    Hi, this is described in the 7.2.2 documentation much better than before.
    For this particular expression the input seems to be the order item with its properties, something like

    <osm:orderItem
    xmlns:osm="http://xmlns.oracle.com/communications/ordermanagement/model"
    id="1288881040699">
    .....
    <osm:properties
    xmlns:im="http://oracle.communications.ordermanagement.unsupported. centralom">
    <im:typeCode>PRODUCT</im:typeCode>
    <im:parentLineId>3</im:parentLineId>
    <im:requestedDeliveryDate>2013-06-31T12:00:00</im:requestedDeliveryDate>
    <im:lineItemName>Commercial Fixed Service [Add]</im:lineItemName>
    <im:lineId>4</im:lineId>
    <im:ServiceActionCode>UPDATE</im:ServiceActionCode>
    <im:productClass>Fixed Service Plan Class</im:productClass>
    <im:serviceId>552131313131</im:serviceId>
    <im:productSpec>Service.Fixed</im:productSpec>
    <im:lineItemPayload> [34 lines]
    <im:region>Sao Paulo</im:region>
    <osm:properties>
    </osm:orderItem>

    (example from the concepts book)

    where im here is your orchestration namespace.

    Hope this helps.
    Viktor

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points