In last two posts we learned how to set and get a property in property set (Siebel Message). In this post we will learn how to Set and Get an element value in XML Hierarchy. If you don’t quite know the difference between XML Hierarchy and Siebel Message then I recommend going through this post first.
Our workflow for this example will look something like this.
![]()
In this workflow first step will be same as previous workflow using PRM ANI Utility Service to create an empty property set. I have used “Account (PRM ANI)” vanilla IO to generate Siebel Message for this example so I am not going to provide the details of first step.
Create 4 new process properties for this workflow.
| Property Name | Type |
| XMLHierarchy | Hierarchy |
| SMessage | Hierarchy |
| Location | String |
| AccountName | String |
Step 2 details:Convert to XML
| Name | Type | Business Service Name | Business Service Method |
| Convert to XML | Business Service | EAI Integration Object to XML Hierarchy Converter | IntObjHierToXMLHier |
Input Arguments:
| Input Argument | Type | Property Name |
| SiebelMessage | Process Property | SMessage |
Output Arguments:
| Property Name | Type | Output Argument |
| XMLHierarchy | Output Argument | XMLHierarchy |
Step 3 details: Set Element Value
| Name | Type | Business Service Name | Business Service Method |
| Set Element Value | Business Service | Workflow Utilities | Echo |
Input Arguments:
| Input Argument | Type | Value | Property Name |
| XMLHierarchy | Process Property | XMLHierarchy | |
| XMLHierarchy.SiebelMessage.Account.Account.Account.Location.<Value> | Literal | India | |
| XMLHierarchy.SiebelMessage.Account.Account.Account.Name.<Value> | Literal | TestAccount |
The only difference between setting a property and setting an element value is that you need to suffix <Value> at the end of the dot notation string.
Output Arguments:
| Property Name | Type | Output Argument |
| XMLHierarchy | Output Argument | XMLHierarchy |
Step 4 details: Get Element Value
| Name | Type | Business Service Name | Business Service Method |
| Get Element Value | Business Service | Workflow Utilities | Echo |
Input Arguments:
| Input Argument | Type | Property Name |
| XMLHierarchy | Process Property | XMLHierarchy |
Output Arguments:
| Property Name | Type | Output Argument |
| Location | Output Argument | XMLHierarchy.SiebelMessage.Account.Account.Account.Location.<Value> |
| AccountName | Output Argument | XMLHierarchy.SiebelMessage.Account.Account.Account.Name.<Value> |
Same do notation just used in output arguments to get the value. That’s it
You must have noticed that I used different IO for this example that is because using Quote IO I reached the most dreaded limitation
of Echo method i.e only 75 Characters are allowed in input and output argument values. Don’t despair there is a workaround for this limitation also which we are going to discuss in next post of this series.



(4 votes, average: 3.75 out of 5)