Michael_Lowry

OH_Idnr in XML export file

Discussion created by Michael_Lowry on Jan 24, 2018
Today I noticed that each object under the FolderStruct element in an XML export file includes the object’s OH_IDnr in the id attribute*. E.g.,
<JOBS_UNIX id="3324910" link="0" name="UC0.DEV.TEST-1_1.JOBS_UNIX"/>
What is the purpose of this? I can think of a few scenarios:
                                 
Scenario

Object ID exists
in target system
Object name exists
in target system
Object ID & object name
match in target system
Result
1
✘ No
✘ No
–  NA
?
2
✘ No
✔ Yes
–  NA
?
3
✔ Yes
✘ No
–  NA
?
4
✔ Yes
✔ Yes
✘ No
?
5
✔ Yes
✔ Yes
✔ Yes
?

When an object is imported, does the AE behave differently in any of the above scenarios?

Automic changes AE XML schema from time to time. (For instance, in some version between v9 and v12, the system and client attributes were removed from the uc-export element.) I do not recall whether the OH_IDnr was always included, or if this is a recent addition.

* The element representing the actual object does not include the OH_IDnr. Only the reference to the object that appears under the FolderStruct element includes the OH_IDnr.

Outcomes