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
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
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.
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