dkinsley
8 years agoCreator II
CN ID
I am trying to add the affected_name to my email notification. In the bottom part of this script, how do get the CN id so I am accessing the correct related affected items in the script below?
<Item type="a_CN" action="get" select="id,cn_number,title,a_businessunit,customer(keyed_name),top_assy_pn(keyed_name),team_id,change_reason,change_summary">
<id>${Item/id}</id>
<team_id>
<Item type="Team" action="get">
<Relationships>
<Item type="Team Identity" action="get">
<team_role>52C5CF6C021A443D845CF6F623EF48C4</team_role>
<related_id>
<Item type="Identity" action="get" select="name"></Item>
</related_id>
</Item>
</Relationships>
</Item>
</team_id>
</Item>
<Item type="a_CN_Affected_Item" action="get" source_id="${a_CN/id} select="affected_name">
</Item>