Reporting Deleted Classifications with a Generic XML OIEP

When classifications are deleted and approved in STEP, outbound integration endpoints (OIEPs) can pass deletion events when the OIEP is configured to listen for Delete events on the relevant objects. As a result, the downstream system is alerted to the deleted classification.

Object Type and Event Type Selection

On the OIEP, open the Configuration tab. Under the Output Templates section, click the Add configuration link.

Set the Object Types and Event Types.

For this example, Modify events are also included to demonstrate the available functionality.

Template

In the Format field, click the ellipsis button (), and set the format to Generic XML.

Provide the following text in the Sample field.

Copy
<root>
   <Classifications>
      <?Record?>
      <Class ClassID="[?Target ClassId?]" DeletedStatus="[?Target DeletedStatus?]">
      <ClassName> <?Target?> </ClassName>
      </Class>
   </Classifications>
</root>    

Mapping

Result

Approve Deletion for a Classification in the Recycle Bin and/or Approve Object for modification of a Classification on the Tree triggers the OIEP.

Invoking the OIEP generates the following output:

For deleted Classifications, the Deleted Status displays "IsDeleted". Only ID is retained for export on Delete events.

For modified Classifications, the Deleted Status displays " ", which indicates the classification is not deleted. All mapped fields are exported for Create and Modify events.