PRM ANI Utility Service BS – Extract Hierarchy Structure

This article has been submitted by Anbu a reader of Siebel Unleashed.

There are a lot of instances while working on Siebel integration we use “PRM ANI Utility Service” Business Service with “GetProperty” method. The issue with this is when you don’t get a proper hierarchy as expected from the previous step GetProperty method throws an error message.

When we have a hierarchy structure and want to extract a property value without script. We use GetProperty Method which has the following arguments

Input Arguments:
Hierarchy Path
– the hierarchical path to reach the desired property (for e.g.: SiebelMessage.Service Request)
Property Name – the Name of the property (for e.g.: SR Number)
SiebelMessage – Hierarchical structure from where we are going to extract the property value

Output Arguments:
Property Value – The Value of the property.

When we are not getting the hierarchy in the desired format, which means the hierarchy path is not retrieved correctly as specified in the Hierarchy Path input argument. GetProperty method throws an error stating

Error Running Method ‘Execute’.(SBL-PRM-00104)

Use a hidden input argument to suppress errors. In the “PRM ANI Utility Service” Business Service we can give an optional input argument that will suppress it from throwing error and return null when it cannot find the required property.

Workflow Usage:

WF Step -> Create a new input argument though it will not be available in the picklist.
ReturnBlankIfNull Literal              Y

Create a new property with name as  “ReturnBlankIfNull” and value as “Y” for the input argument property set of BS. For example


One Response to PRM ANI Utility Service BS – Extract Hierarchy Structure

  1. Hi Neel,

    Helpful article and thanks for the same. But I would like to request you to kindly publish fewarticles on the below mentioned topics too.
    1. How Siebel Message(SOAP Envelope format) structure generated from any Object Id gets differed from the XML Hierarchy structure genertaed from the same Object Id?
    2. How Execute and Synchronize method works for EAI Siebel Adapter BS? Is this Synchronize method brings the two interacting systems into parity?

Leave a Reply