Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

UCMDB Tip: How to map a string constant in the mapping file for push to db?

Hello All,


Here is an example of mapping the name of a calculated link called TSYS between a node and a process:


<source_link_type_tree name="TSYS" target_link_type="RELATION" mode="update_else_insert" source_ci_type_end1="node" source_ci_type_end2="process">

                <target_ci_type_end1 name="node" />

                <target_ci_type_end2 name="process" />


                <target_attribute name="NAME" datatype="char" length="255" option="uppercase">

                        <map type="compoundstring" datatype="char">

                                   <constant value="TSYS" />





Because of the nature of a calculated link, it is not possible to map attributes for it other than end1 and end2. In order to  map a string constant TSYS for the NAME we used the above example. It will set TSYS as value in the NAME column for the relationship.




“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”

Click the KUDOS star on the left to say 'Thanks'
Labels (1)
Tags (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.