Caso especial de mapeamento de atributo

Se vários objetos idênticos existirem em um gráfico de definição de fragmento (valor do atributo idêntico para AT_OBJNAME_INTERN), terá de especificar um atributo de objeto único AT_NODE_ID na definição de fragmento para fazer a diferenciação entre os objetos. No arquivo de mapeamento de atributo, em vez do valor do atributo de objeto AT_OBJNAME_INTERN, deverá especificar o valor do atributo de objeto AT_NODE_ID.

Exemplo

Definição de fragmento:

A definição de fragmento contém dois eventos finais O pedido é criado.

...

<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>

...

Mapeamento de atributo:

Nos dois eventos finais O pedido é criado, o mapeamento de atributo gera um atributo do PPM AT_ID com um valor diferente: 

...

<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>

...