Special case of attribute mapping

If several identical objects exist within a fragment definition graph (identical attribute value for AT_OBJNAME_INTERN), you need to specify a unique AT_NODE_ID object attribute in the fragment definition to differentiate between the objects. In the attribute mapping file, instead of the value of the AT_OBJNAME_INTERN object attribute you should specify the value of the AT_NODE_ID object attribute.

Example

Fragment definition:

The fragment definition contains two Order is created end events.

...

<graph id="CHPFLICHT_AUFTRAG_ANLEGEN">

<node id="4" type="OT_EVT">

<attribute type="AT_OBJNAME">Order to be created</attribute>

<attribute type="AT_OBJNAME_INTERN">SAP.AUFT_ANZU</attribute>

</node>

<node id="5" type="OT_FUNC">

<attribute type="AT_OBJNAME">Create order</attribute>

<attribute type="AT_OBJNAME_INTERN">SAP.AUFT_ANLEG</attribute>

</node>

<node id="42" type="OT_RULEOR"/>

<node id="6" type="OT_EVT">

<attribute type="AT_OBJNAME">Order is created</attribute>

<attribute type="AT_OBJNAME_INTERN">SAP.AUFT_ANGELEGT</attribute>

<attribute type="AT_NODE_ID">End event 1</attribute>

</node>

<node id="7" type="OT_EVT">

<attribute type="AT_OBJNAME">Order is created</attribute>

<attribute type="AT_OBJNAME_INTERN">SAP.AUFT_ANGELEGT</attribute>

<attribute type="AT_NODE_ID">End event 2</attribute>

</node>

<edge type="CXN_FOLLOWS" source="4" target="5"/>

<edge type="CXN_FOLLOWS" source="5" target="42"/>

<edge type="CXN_FOLLOWS" source="42" target="6"/>

<edge type="CXN_FOLLOWS" source="42" target="7"/>

</graph>

...

Attribute mapping:

At the two Order is created end events, attribute mapping generates a PPM attribute AT_ID with a different value: 

...

<attributemapping>

<objectattributes objectname="End event 1" graphid="AUFTRAG_ANLEGEN">

<attribute ppmattributetype="AT_ID">

<value>This is the first end event</value>

</attribute>

</objectattributes>

<objectattributes objectname="End event 2" graphid="AUFTRAG_ANLEGEN">

<attribute ppmattributetype="AT_ID">

<value>This is the second end event</value>

</attribute>

</objectattributes>

</attributemapping>

...