Object key rules are used when re-importing data to identify and overwrite identical objects. Two event or function objects are identical if the same object key has been calculated for them. If objects are identified as being identical, the last object imported overwrites the previously imported object. The process logic of the process instance is modified accordingly. The calculated object key is written to the corresponding object as the AT_INTERNAL_OBJECT_KEY attribute type.
Example
For all functions, the object key is created from the values of the AT_OBJNAME_INTERN and AT_END_TIME attributes.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE keyrules SYSTEM "keyrules.dtd">
<keyrules>
...
<processkeyrule>
...
</processkeyrule>
...
<internalobjectkeyrule>
<refobjects>
<refobject objecttype = "OT_FUNC" />
</refobjects>
<keyparts>
<keypart attributetype="AT_OBJNAME_INTERN"/>
<keypart attributetype="AT_END_TIME"/>
</keyparts>
</internalobjectkeyrule>
...
</keyrules>
Warning
When creating the object key rules, make sure that different object keys are calculated for different object types (function or event). Overwriting objects of different types leads to undefined results.