Siebel Order Management Infrastructure Guide > Projected Asset Cache >

Using the VORD Projected Asset Cache Business Service


This topic shows how to structure the input parameters for the VORD Projected Asset Cache business service in a workflow.

To use VORD Projected Asset Cache business service in a workflow

  • The structure for all input parameters must be as follows:
    • All values added to the input PropertySet must be added as child PropertySets.
    • All child PropertySets must have their type set by the SetType PropertySet method.

      For example, for each Field argument:

    • Create a new PropertySet, set its type to Field, and then use the SetProperty method to set the field name.
    • Add this new PropertySet as a child to the main property used in the business service.

      For each Search Expression argument:

    • Create a new PropertySet, sets its type to Search Expression, use the SetProperty method to set the property name as Search Expression, and then set Search Expression as the property value.
    • Add this new PropertySet as a child to the main property used in the business service.

      NOTE:  All fields used in the Search Expression field must be present in the Field PropertySet.

      Example:

    var assetCacheSvc = TheApplication().GetService("VORD Projected Asset Cache");
    var svcInputs = TheApplication().NewPropertySet();
    var svcOutputs = TheApplication().NewPropertySet();
    var field = TheApplication().NewPropertySet();
    var search = TheApplication().NewPropertySet();
    field.SetType("Field");
    field.SetProperty("Network Element Type", "");
    var CompoundProduct = "XXXXXXX";
    search.SetType("Search Expression");
    search.SetProperty("Search Expression", "([Compound Product Number] = \""+CompoundProduct+"\")");
    svcInputs.AddChild(field);
    svcInputs.AddChild(search);
    assetCacheSvc.InvokeMethod("Initialize", svcInputs, svcOutputs);
    var assetCacheKey = svcOutputs.GetProperty("Asset Cache Key");   

Siebel Order Management Infrastructure Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.